Deployment fixes

This commit is contained in:
Anuken
2020-09-15 19:28:38 -04:00
parent 234649bd68
commit a5ce57e56d
11 changed files with 36 additions and 27 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ dependencies{
natives "com.github.Anuken.Arc:natives-freetype-android:${getArcHash()}"
natives "com.github.Anuken.Arc:natives-box2d-android:${getArcHash()}"
if(localArc()) compileOnly fileTree(dir: '../../Arc/backends/backend-android/libs', include: ['*.jar'])
//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'])
}
task deploy(type: Copy){