Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstrickland committed Oct 22, 2024
1 parent 2fae56b commit ebe7d58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ java {
withSourcesJar()
}

tasks.wrapper {
tasks.withType<Wrapper> {
doFirst {
val sha256Sum = URL("$distributionUrl.sha256").readText()
val sha256Sum = uri("$distributionUrl.sha256").toURL().readText()

propertiesFile.appendText("distributionSha256Sum=${sha256Sum}\n")
println("Added checksum to wrapper properties")
}
Expand Down

0 comments on commit ebe7d58

Please sign in to comment.