Gradle wrapper subdirectory

The gradle wrapper installs itself into the gradle/wrapper subdirectory. It’s also the only thing in that gradle subdirectory.

Is there any reason why there’s two levels of directories, instead of just one? Is there any intention for that gradle subdirectory, other than as a holder for the wrapper subdirectory?

I’m actually considering putting some other Gradle infrastructure into the gradle subdirectory, and just want to check that this is compatible with the vision.


It’s quite common to see other gradle files (used in build.gradle files via apply from:) in this folder or subfolders, including in Gradle itself:

1 Like