diff --git a/.space.kts b/.space.kts index 86306ae..96bda2d 100644 --- a/.space.kts +++ b/.space.kts @@ -1,10 +1,16 @@ job("Build and run tests") { // run 'gradlew build' - gradlew("azul/zulu-openjdk:17", "build") { + gradlew("azul/zulu-openjdk:17", "build", "--no-daemon") { + mountDir = "/root" + cache { + storeKey = "dot-gradle" + localPath = "/root/.gradle" + } + fileArtifacts { - localPath = "build" - archive = true - remotePath = "{{ run:number }}/build.zip" + localPath = "build/libs" + archive = false + remotePath = "{{ run:number }}/build" onStatus = OnStatus.SUCCESS } }