Skip to content

Commit 1e25cf3

Browse files
committed
Update Gradle and Gretty
1 parent 54a6ed8 commit 1e25cf3

6 files changed

Lines changed: 238 additions & 151 deletions

File tree

buildSrc/src/main/kotlin/publish.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if(!LibExt.libVersion.endsWith("-SNAPSHOT")) {
117117
val rawBundleName = "${LibExt.libName}-${LibExt.libVersion}"
118118
val encodedBundleName = URLEncoder.encode(rawBundleName, "UTF-8")
119119

120-
exec {
120+
providers.exec {
121121
commandLine = listOf(
122122
"curl",
123123
"-u",
@@ -128,7 +128,7 @@ if(!LibExt.libVersion.endsWith("-SNAPSHOT")) {
128128
"bundle=@${zipFile.absolutePath}",
129129
"https://central.sonatype.com/api/v1/publisher/upload?name=${encodedBundleName}"
130130
)
131-
}
131+
}.result.get()
132132
}
133133
}
134134
}

examples/basic/teavm/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
plugins {
22
id("java")
3-
id("org.gretty") version("3.1.0")
3+
id("org.gretty") version("4.1.10")
44
}
55

6+
project.extra["webAppDir"] = File(projectDir, "build/dist/webapp")
67
gretty {
78
contextPath = "/"
8-
extraResourceBase("build/dist/webapp")
99
}
1010

1111
dependencies {

gradle/wrapper/gradle-wrapper.jar

-9.94 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)