CLEVELAND: Matthew Dellavedova has hustled his way back to the Cavaliers.

Dellavedova, who emerged as an unlikely postseason hero when All-Star guard Kyrie Irving was injured, signed a $1.2 million contract for next season on Monday.

He had been a restricted free agent, and although the Cavs signed Mo Williams this summer to be Irving’s primary backup, the team wanted to keep Dellavedova because of the energy he brings off the bench.

Dellavedova accepted the Cavs’ qualifying offer and he can be an unrestricted free agent next summer when the league’s salary cap will expand. He made $816,000 last season.

The Australian has endeared himself to Cleveland fans, and his teammates adore “Delly” for his non-stop hustle and attitude. Dellavedova started 13 games during the regular season, but was forced into a more prominent role in the playoffs because Irving was slowed by injuries.

With Irving out, Dellavedova scored 19 points in a series-clinching win over Chicago in the second round and he scored 20 in Game 3 of the NBA Finals against Golden State. He was hospitalized following the game for dehydration.

Dellavedova played in 67 games during the regular season, averaging 4.8 points, 3.0 assists and 1.9 rebounds in 20.6 minutes. He shot a career-high .407 percentage from the 3-point line.

In the playoffs, he averaged 7.2 points and 2.7 assists in 24.9 minutes.

General manager David Griffin’s goal was to re-sign the Cavs’ core players this summer and he has gotten deals done with LeBron James, Kevin Love, Iman Shumpert, James Jones and Dellavedova.

The Cavs remain interested in re-signing free agents Tristan Thompson and J.R. Smith.

Cleveland also traded center Brendan Haywood — and his expiring $10.5 million contract — and forward Mike Miller to Portland for two trade exceptions and to save luxury-tax money.

Pacers complete deals with 3 veterans, complete rookie class

The Indiana Pacers have re-signed forward Lavoy Allen and Shayne Whittington.

The team on Monday also signed swingman Glenn Robinson III to a three-year deal and completed an undisclosed deal with second-round pick Rakeem Christmas.

Allen agreed to a multiyear deal worth $3 million annually this month. He has averaged 5.0 points and 4.8 rebounds in a five-year career.

Whittington played in 20 games last season after making the roster as an undrafted free agent. He was expected to re-sign after competing on Indiana’s summer league team.

Robinson played in high school in Indiana and starred at the University of Michigan before leaving school early. His father, Glenn, was the No. 1 overall pick in the 1994 draft.

Christmas, a forward, was acquired in a trade with Cleveland last week.

Mavericks sign pair of free agent forward

The Dallas Mavericks have signed free-agent forward Jamil Wilson and Brandon Ashley.

They announced the deals on Monday.

The 6-foot-7 Wilson averaged 10.9 points and 5.4 rebounds in 41 games last season with Bakersfield of the NBA D-League.

Ashley, undrafted out of Arizona after his junior season earlier this year, averaged 10.4 points and 5.3 rebounds in seven games for the Atlanta Hawks’ summer league team in Las Vegas this month. The 6-9 Ashley averaged 12.2 points and 5.2 rebounds for Arizona last year.

Warriors trade David Lee to Boston for Wallace, Babb

The Golden State Warriors have completed the trade sending two-time All-Star forward David Lee to the Boston Celtics for Gerald Wallace and Chris Babb.

The teams announced the deal Monday. They agreed to the trade July 7, but Boston needed time to sort out other moves in free agency before acquiring Lee.

Lee was an All-Star in 2010 with New York and 2013 with Golden State. He played the fewest minutes of his career and averaged just 7.9 points per game last season for the NBA champion Warriors.

Warriors general manager Bob Myers praised Lee’s contributions on and off the floor, saying he “was a stabilizing force during a period that saw many positive changes within the organization.”