Skip to content

Commit b20823d

Browse files
committed
Gradle 8.12
1 parent b1dd6f7 commit b20823d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.space.kts

+4-10
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,12 @@ job("Build AGConnect publishing") {
99
startOn {
1010
gitPush { enabled = false }
1111
}
12-
parameters {
13-
text("GRADLE_TASKS", value = "build", description = "Gradle tasks") {
14-
options("build", "build publish") {
15-
allowMultiple = false
16-
}
17-
}
18-
}
1912
container(displayName = "Gradle build", image = "{{ project:DOCKER_IMAGE }}:lts") {
2013
env["JB_SPACE_MAVEN_REPO"] = "{{ project:JB_SPACE_MAVEN_REPO }}"
21-
env["GRADLE_TASKS"] = "{{ GRADLE_TASKS }}"
22-
shellScript {
23-
content = "gradle --init-script $mountDir/system/gradle/init.gradle -Dorg.gradle.parallel=false ${'$'}GRADLE_TASKS"
14+
env["GRADLE_USER_HOME"] = "{{ project:GRADLE_USER_HOME }}"
15+
kotlinScript { api ->
16+
api.gradle("build")
17+
api.gradle("publish")
2418
}
2519
}
2620
}

0 commit comments

Comments
 (0)