Should you include or ignore gradle-wrapper.properties

后端 未结 2 1796
谎友^
谎友^ 2021-02-01 00:45

When working on a team of android developers using gradle as your build system. Should you include gradle/wrapper/gradle-wrapper.properties in git, or should it be part of your

相关标签:
2条回答
  • 2021-02-01 01:22

    It should be put under source control, as it's necessary for gradlew to work properly.

    0 讨论(0)
  • 2021-02-01 01:25

    It should be included in your git repo.

    By using it with gradlew, this will ensure all your developers (and your build servers!) always use the same version of Gradle. This way you know that every one is building the same exact way.

    0 讨论(0)
提交回复
热议问题