Should the .gradle folder be added to version control?

后端 未结 5 2099
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 06:48

Gradle creates a folder called .gradle. Should I track it with my version control (i.e. git)?

More importantly, why / why not?

5条回答
  •  情深已故
    2021-01-31 07:17

    You don't need to keep the .gradle folder.

    Because once you execute gradle build command again, you can make almost the same .gradle folder again.

    But when you use the gradle.setting file under .gradle you might need to move it to root folder of the project.

提交回复
热议问题