mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Fixed #5995
This commit is contained in:
parent
e1ba9f16f6
commit
01c67b77cb
2 changed files with 9 additions and 10 deletions
|
|
@ -18,6 +18,12 @@ configurations{ natives }
|
|||
repositories{
|
||||
mavenCentral()
|
||||
maven{ url "https://maven.google.com" }
|
||||
|
||||
ivy{
|
||||
url 'https://github.com/'
|
||||
patternLayout{ artifact '/[organisation]/[module]/raw/master/backends/backend-android/libs/android.jar' }
|
||||
metadataSources{ artifact() }
|
||||
}
|
||||
}
|
||||
|
||||
task deploy(type: Copy){
|
||||
|
|
@ -140,8 +146,7 @@ dependencies{
|
|||
gpImplementation "com.google.android.gms:play-services-auth:19.0.0"
|
||||
|
||||
//android dependencies magically disappear during compilation, thanks gradle!
|
||||
def sdkFile = new File((String)findSdkDir(), "/platforms/android-29/android.jar")
|
||||
if(sdkFile.exists()) compileOnly files(sdkFile.absolutePath)
|
||||
compileOnly "Anuken:Arc:android"
|
||||
}
|
||||
|
||||
task copyAndroidNatives(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue