You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This product bundles the files gradlew and gradlew.bat from Gradle v5.5
which are distributed under the Apache License, Version 2.0.
For details see ./gradlew and ./gradlew.bat.
The text was added in #4552 (2019), around the time #4567 updated the wrapper to Gradle 5.5. The scripts have been replaced since, and LICENSE.txt was not updated:
gradlew and gradlew.bat on master were last changed in f29981a2f "Bumping to gradle 6" (#5276), which set the wrapper to gradle-6.9.1-bin.zip. The scripts are the Gradle 6.9.x ones. Compared with the gradlew in Gradle's own repository at v6.9.1, the only difference is the project-specific -Dfile.encoding=UTF-8 in Gradle's DEFAULT_JVM_OPTS. They no longer match the Gradle 5.5 scripts (Gradle's v5.5.0 / this repo at d9de97d6e).
LICENSE.txtsays:The text was added in #4552 (2019), around the time #4567 updated the wrapper to Gradle 5.5. The scripts have been replaced since, and
LICENSE.txtwas not updated:gradlewandgradlew.batonmasterwere last changed inf29981a2f"Bumping to gradle 6" (#5276), which set the wrapper togradle-6.9.1-bin.zip. The scripts are the Gradle 6.9.x ones. Compared with thegradlewin Gradle's own repository atv6.9.1, the only difference is the project-specific-Dfile.encoding=UTF-8in Gradle'sDEFAULT_JVM_OPTS. They no longer match the Gradle 5.5 scripts (Gradle'sv5.5.0/ this repo atd9de97d6e).gradle/wrapper/gradle-wrapper.propertiesusesgradle-7.6.2-bin.zip, but the scripts were not regenerated, so they are still the 6.9.1 ones.So the version in
LICENSE.txtis wrong. Suggested fix, either:LICENSE.txtto sayGradle v6.9.1, matching the scripts as they are; or./gradlew wrapper --gradle-version 7.6.2) and changeLICENSE.txttoGradle v7.6.2.Found while reviewing Apache OpenServerless, which vendors these files and has the same stale text: apache/openserverless#269.