mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-11 08:15:35 +03:00
Fixed #5995
This commit is contained in:
parent
e1ba9f16f6
commit
01c67b77cb
@ -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(){
|
||||
|
10
build.gradle
10
build.gradle
@ -17,14 +17,8 @@ buildscript{
|
||||
//fake repository to download my patched robovm jar from
|
||||
ivy{
|
||||
url 'https://github.com/'
|
||||
|
||||
patternLayout {
|
||||
artifact '/[organisation]/[module]/raw/a-single-jar-file/[revision].jar'
|
||||
}
|
||||
|
||||
// This is required in Gradle 6.0+ as metadata file (ivy.xml)
|
||||
// is mandatory. Docs linked below this code section
|
||||
metadataSources { artifact() }
|
||||
patternLayout{ artifact '/[organisation]/[module]/raw/a-single-jar-file/[revision].jar' }
|
||||
metadataSources{ artifact() }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user