Merge pull request #1560 from jagerman/gradle-cache

Allow multiple gradles to run on the same box
pull/1563/head
Thomas Winget 3 years ago committed by GitHub
commit 49037e8be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,7 +80,7 @@ local apk_builder(name, image, extra_cmds=[], allow_fail=false) = {
"rm -f local.properties",
"echo 'sdk.dir=/usr/lib/android-sdk' >> local.properties",
"echo 'ndk.dir=/usr/lib/android-ndk' >> local.properties",
"GRADLE_USER_HOME=/cache/gradle gradle --no-daemon assembleDebug",
"GRADLE_USER_HOME=/cache/gradle/${DRONE_STAGE_MACHINE} gradle --no-daemon assembleDebug",
] + extra_cmds
}
]

Loading…
Cancel
Save