Mike Dunleavy, LeBron James

Cleveland Cavaliers forward LeBron James (right) will finally get to play with Mike Dunleavy (left).

(Gus Chan, The Plain Dealer)

CLEVELAND, Ohio - The Cleveland Cavaliers will trade for Chicago Bulls small forward Mike Dunleavy, league sources confirmed to cleveland.com.

Chicago is parting ways with Dunleavy to shed cap space to make room for Miami Heat free agent Dwyane Wade, who committed to signing with his hometown team on Wednesday night.

Cleveland will use a portion of the $9.6 million Anderson Varejao trade exception to absorb Dunleavy's salary, The Vertical reported. Cleveland.com also learned the Cavaliers will give up the rights to a player stashed oversees. It will not be the team's draft-and-stash forward Cedi Osman of the Turkish League, I've been told.

The 14-year veteran has two years remaining on his deal at $4.8 million for next season and $5.2 million for the 2017-18 campaign. However, the final year is a non-guaranteed salary.

LeBron James has always wanted to play with Dunleavy, but it will be interesting to see if his new teammate still has anything left in the tank. He underwent back surgery last September.

In 31 games for the Bulls last season, Dunleavy posted 7.2 points per game and shot 39 percent from long distance. He will turn 36 before the season tips off. He's played with Golden State, Indiana, Milwaukee and Chicago throughout his career.