Warner Bros. has set the Dwayne Johnson-Kevin Hart buddy comedy “Central Intelligence” for a June 17, 2016, release.

The studio has also moved its detective thriller “The Nice Guys,” starring Russell Crowe and Ryan Gosling, forward a month, vacating the June 17, 2016, date in favor of May 20.

“We’re the Millers” filmmaker Rawson Marshall Thurber is directing “Central Intelligence.” Scott Stuber will produce through his Bluegrass Films banner, along with Peter Principato and Paul Young of Principato-Young Entertainment. “The Hangover” star Ed Helms is exec producing.

Hart plays a former high school sports star-turned-accountant contacted by a classmate (Johnson) who was bullied and humiliated as a teen but is now a CIA contract killer, who proceeds to rope him into helping foil a plot to sell classified military secrets.

“Central Intelligence” will open against Disney’s “Finding Dory.” “The Nice Guys” will launch against Sony’s “Angry Birds.”