Blake Lively and Justin Baldoni settled their legal differences. TIMOTHY A.CLARY / AFP via Getty Images Blake Lively and Justin Baldoni settled their dispute over "It Ends With Us." Lively alleged Justin Baldoni sexually harassed her on set. The judge gutted most of the lawsuit before it was set to go to trial this month. It ended — two weeks before trial. The blockbuster dispute between "It Ends With Us" stars Justin Baldoni and Blake Lively over behind-the-scenes drama won't go to trial later this month. Lively and Baldoni's production company, Wayfarer Studios, announced Monday that they had reached a settlement. "Raising awareness, and making a meaningful impact in the lives of domestic violence survivors — and all survivors — is a goal that we stand behind," the statement said. "We acknowledge the process presented challenges and recognize concerns raised by Ms.…