In attempting to convert my 1.0-milestone-3 approved builds over to 
1-0.milestone-9 I discovered that the wrapper code has been significantly 
refactored somewhere in between.

GradleWrapperMain.java now only allows the properties file to live directly 
next to the wrapper jar file, and must have the same name except replacing .jar 
with .properties.  We have an environment, where a file: url is slightly 
different under Windows versus Unix systems, and my solution was to copy the 
gradle-wrapper.jar file to a gradle-wrapper-win32.jar file and create and 
additional properties file and alter the gradlew.bat file as usual.

This is not terrible, but requires an extra 40k of code in my source repository 
because I can no longer pass a property pointing to the correct properties file.

I can see how it was desirable to not require org.gradle.wrapper.properties be 
specified in the gradlew scripts, but it was handy to have it available to 
configure for situations that do not fit the convention.

-Spencer

Reply via email to