Dirk Nowitzki and Kemba Walker had already been chosen as captains for Team World. The squad includes Portland's CJ McCollum, Detroit's Andre Drummond, Boston's Jaylen Brown, Denver's Wilson Chandler, New York's Courtney Lee and Leandro Barbosa, who most recently played with Phoenix.
"I've heard so many great things from players around the league who traveled to South Africa in 2015 for the first NBA Africa Game and Basketball without Borders," McCollum said in a statement. "I can't wait to suit up for Team World in Johannesburg this summer."
Luol Deng and Thabo Sefolosha are the Team Africa captains. Also on the team are Bismack Biyombo, Clint Capela, Gorgui Dieng, Joel Embiid (injured, will not play), Serge Ibaka, Luc Mbah a Moute, Salah Mejri, Emmanuel Mudiay, Victor Oladipo and Dennis Schroder.
The rosters were announced Thursday for the second game featuring players born in Africa and second-generation African players against a team from the rest of the world. It will be played Aug. 5 in Johannesburg.
NBA commissioner Adam Silver, National Basketball Players Association executive director Michele Roberts and NBA global ambassador Dikembe Mutombo are expected to be in attendance.
"Basketball is witnessing explosive growth in Africa. Our return to Johannesburg this summer is part of the league's continued commitment to bring the authentic NBA experience to fans around the world," Silver said in a statement. "I would like to thank the NBPA for their participation and for being terrific partners on this game and surrounding events."
The game will be played in support of UNICEF, the Nelson Mandela Foundation and SOS Children's Villages South Africa.
The Associated Press contributed to this report.