1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-09-11 08:15:35 +03:00
This commit is contained in:
Anuken 2021-09-14 09:55:35 -04:00
parent e1ba9f16f6
commit 01c67b77cb
2 changed files with 9 additions and 10 deletions

View File

@ -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(){

View File

@ -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() }
}
}