Groysman had resigned after the inauguration of President Volodymyr Zelenskiy, saying Zelenskiy had turned down his overtures for cooperation.
Zelenskiy has called a snap election for July 21, which his party is expected to win.