From 8bd2b9b45cb7d5d28212ecd5c0142fd836a8ca4a Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 19 Nov 2020 19:26:10 -0500 Subject: [PATCH] CI cleanup --- android/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 3ec6b34cfe..24de0e599f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -35,7 +35,8 @@ dependencies{ natives "com.github.Anuken.Arc:natives-box2d-android:${getArcHash()}" //android dependencies magically disappear during compilation, thanks gradle! - if(new File(projectDir.parent, '../Arc').exists()) compileOnly fileTree(dir: '../../Arc/backends/backend-android/libs', include: ['*.jar']) + def sdkFile = new File(System.getenv("ANDROID_HOME"), "/platforms/android-29/android.jar") + if(sdkFile.exists()) compileOnly files(sdkFile.absolutePath) } task deploy(type: Copy){