Should the .gradle folder be added to version control?

后端 未结 5 2055
被撕碎了的回忆
被撕碎了的回忆 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:33

    The .gradle folder contains different calculated information about your gradle build (e.g. cached outputs/input information). You definitely shouldn't check that folder into your version control system.

提交回复
热议问题