How to keep runConfigurations when importing a gradle project

  1. Choose File, New, Project from existing sources...
  2. In the window Select File or Directory to Import, specify an existing gradle file in a directory that also contains configurations in .idea/runConfigurations and click OK
  3. In the window Import Project from Grade, click OK
  4. After project is built, observe that runConfigurations folder has been removed from the .idea
0

请先登录再写评论。