It appears Ben Affleck and Jennifer Garner’s prolonged divorce will proceed with a settlement.

After years of inaction on the actors’ divorce petition — and the rumoured threat of it being dismissed — the former couple will finalise their split once Affleck completes his reported stint in rehab, according to several reports from the weekend.

TMZ, which first reported the settlement agreement, said the actors, both 46, had to divvy up their fortunes without a prenuptial agreement, putting all the earnings from their 12-year union into one pot.

But the Oscar-winning writer-producer and the Golden Globe-winning actress, who have three school-aged children, have reportedly reached a property settlement and will continue co-parenting through a joint custody agreement, the site said.

Representatives for the actors did not immediately respond to requests for comment.

Affleck and Garner, who co-starred in 2001’s Pearl Harbor and 2003’s Daredevil, married in June 2005 and later welcomed daughters Violet, 12, and Seraphina, 9; and son Samuel, 6. They announced their separation in 2015, but did not officially file for divorce until April 2017.

Affleck and Garner have long had a reputation as friendly exes and have been frequently spotted out together in public with their children. Most recently, Garner was photographed last week reportedly staging an intervention before presumably driving Affleck to rehab.