Doncic, who helped Slovenia win gold at EuroBasket 2017, played 34 minutes to help his country claim one of the final spots in the Summer Olympics in Tokyo.
Germany beat Brazil on Sunday to come out of the qualifying tournament in Croatia, after beating Croatia on Saturday.