Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.30.0
Description
The problem with gradle update via
./gradlew wrapper --gradle-version <new_version> && ./gradlew autostyleApply
it removes checksum from gradle/wrapper/gradle-wrapper.properties
there could be added a task which could update checksum as well, e.g.
tasks.wrapper { distributionType = Wrapper.DistributionType.BIN doLast { val sha256Uri = URI("$distributionUrl.sha256") val sha256Sum = String(sha256Uri.toURL().readBytes()) propertiesFile.appendText("distributionSha256Sum=${sha256Sum}\n") } }
Attachments
Issue Links
- is related to
-
CALCITE-4575 Remove Gradle wrapper from source distribution
- Closed
- links to