Fix for Gitlab CI

This commit is contained in:
Erik C. Thauvin 2021-05-11 21:49:12 -07:00
parent 1ae41c0374
commit 7531521a04
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
image: gradle:alpine image: gradle:7-jdk11
variables: variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false" GRADLE_OPTS: "-Dorg.gradle.daemon=false"

View file

@ -26,7 +26,7 @@ tasks {
register("runJava", JavaExec::class) { register("runJava", JavaExec::class) {
group = "application" group = "application"
main = "com.example.BitlySample" main = "com.example.BitlySample"
classpath = sourceSets["main"].runtimeClasspath classpath = sourceSets.main.get().runtimeClasspath
} }
register("runRetrieve", JavaExec::class) { register("runRetrieve", JavaExec::class) {