Skip to content

Commit

Permalink
Gradle 8.12
Browse files Browse the repository at this point in the history
  • Loading branch information
syslogic committed Dec 22, 2024
1 parent b1dd6f7 commit b20823d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .space.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@ job("Build AGConnect publishing") {
startOn {
gitPush { enabled = false }
}
parameters {
text("GRADLE_TASKS", value = "build", description = "Gradle tasks") {
options("build", "build publish") {
allowMultiple = false
}
}
}
container(displayName = "Gradle build", image = "{{ project:DOCKER_IMAGE }}:lts") {
env["JB_SPACE_MAVEN_REPO"] = "{{ project:JB_SPACE_MAVEN_REPO }}"
env["GRADLE_TASKS"] = "{{ GRADLE_TASKS }}"
shellScript {
content = "gradle --init-script $mountDir/system/gradle/init.gradle -Dorg.gradle.parallel=false ${'$'}GRADLE_TASKS"
env["GRADLE_USER_HOME"] = "{{ project:GRADLE_USER_HOME }}"
kotlinScript { api ->
api.gradle("build")
api.gradle("publish")
}
}
}

0 comments on commit b20823d

Please sign in to comment.