Android Studio gradle-###-bin.zip vs. gradle-###-all.zip

From what I've seen Android Studio recommends to use gradle-*-all.zip and even provides a "quick fix" to change that. On the other hand, the command ./gradlew wrapper sets up the wrapper using gradle-*-bin.zip, overwriting the previous setting. Make sure nobody is calling "./gradlew wrapper" automatically.


If you and the other developer want a uniform experience, place this code in your build.gradle file

wrapper {
    distributionType = Wrapper.DistributionType.ALL
}

This will make ./gradlew wrapper --gradle-version 5.6 automatically append -all instead of -bin

For build.gradle.kts:

tasks.wrapper {
    distributionType = Wrapper.DistributionType.ALL
}

Like @San said, -all will have binaries, sources, and documentation, while -bin will just have the binaries.


gradle-1.12-all.zip file will have binaries, sources, and documentation. gradle-1.12-bin.zip will have only binaries(That should be enough as you don't need any samples/docs)

If you want to know about gradle wrapper, please check this http://www.gradle.org/docs/current/userguide/gradle_wrapper.html