BlastingCrisis/.space.kts

17 lines
444 B
Kotlin

job("Build and run tests") {
// run 'gradlew build'
gradlew("azul/zulu-openjdk:17", "build", "--no-daemon") {
mountDir = "/root"
cache {
storeKey = "dot-gradle"
localPath = "/root/.gradle"
}
fileArtifacts {
localPath = "build/libs"
archive = false
remotePath = "{{ run:number }}/build"
onStatus = OnStatus.SUCCESS
}
}
}