Blake Lively has joined the cast of Sony’s upcoming adaptation of Colleen Hoover’s ‘It Ends With Us.’

Justin Baldoni is set to direct and also star alongside Lively.

The story follows a small-town girl Lily, who moves to Boston to start her own business. Sparks immediately fly between her and neurosurgeon Ryle, but his “complete aversion to relationships is disturbing,” the book’s description reads. “Even as Lily finds herself becoming the exception to his ‘no dating’ rule, she can’t help but wonder what made him that way in the first place. As questions about her new relationship overwhelms her, so do thoughts of Atlas Corrigan — her first love and a link to the past she left behind. He was her kindred spirit, her protector. When Atlas suddenly reappears, everything Lily has built with Ryle is threatened.”

Also in news – Ethan Hawke set to direct feature ‘Wildcat’

Baldoni will also executive produce under his Wayfarer Studios banner, which is co-financing. Lively is also executive producing alongside Hoover, Steve Sarowitz and Andrew Calof. Alex Saks will produce for Saks Picture Company, along with Jamey Heath who will produce on behalf of Wayfarer Studios. Christy Hall (“I Am Not Okay With This”) penned the current screenplay and is also set to produce.

Lively is set to make her feature directorial debut with “Seconds,” an adaptation of Bryan Lee O’Malley’s graphic novel, written and produced by Edgar Wright alongside Marc Platt.