NEW YORK (AP) — Blake Lively and Justin Baldoni agreed Monday to end their legal battle over the acrimonious production of their 2024 film “It Ends With Us.” The Hollywood stars settled their civil case two weeks before a trial was set to begin in New York on Lively’s claims that Baldoni conspired with publicists to preemptively destroy her reputation after she privately accused him of sexually harassing her on the movie set. “Raising awareness, and making a meaningful impact in the lives of domestic violence survivors — and all survivors — is a goal that we stand behind,” Lively and Baldoni said in a joint statement issued through their lawyers. “It is our sincere hope that this brings closure and allows all involved to move forward constructively and in peace, including a respectful environment online.” The terms of the settlement were not disclosed. Lively, 38, sued Baldoni, 42, and his production company, Wayfarer Studios, at the end of 2024.…