In Group C, Highland League champions Cove Rangers make the trip to Inverness to face Caley Thistle for their first match before hosting Hearts at Balmoral Stadium on Wednesday, July 18.
Caley Jags boss John Robertson will return to Tynecastle to face his former club Hearts on the final day of the group stage on Sunday, July 29.
In Group D, Peterhead, who beat Hearts last year, start their campaign at Brechin City on July 14 before travelling to East End Park to face Dunfermline on July 17.
The Blue Toon’s final game of the section is on Wednesday, July 25 when they welcome Dundee to Balmoor Stadium. Jim McInally’s side beat Dundee when the sides last met in the competition two years ago.