Fixed #5995
This commit is contained in:
@@ -18,6 +18,12 @@ configurations{ natives }
|
|||||||
repositories{
|
repositories{
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven{ url "https://maven.google.com" }
|
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){
|
task deploy(type: Copy){
|
||||||
@@ -140,8 +146,7 @@ dependencies{
|
|||||||
gpImplementation "com.google.android.gms:play-services-auth:19.0.0"
|
gpImplementation "com.google.android.gms:play-services-auth:19.0.0"
|
||||||
|
|
||||||
//android dependencies magically disappear during compilation, thanks gradle!
|
//android dependencies magically disappear during compilation, thanks gradle!
|
||||||
def sdkFile = new File((String)findSdkDir(), "/platforms/android-29/android.jar")
|
compileOnly "Anuken:Arc:android"
|
||||||
if(sdkFile.exists()) compileOnly files(sdkFile.absolutePath)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyAndroidNatives(){
|
task copyAndroidNatives(){
|
||||||
|
|||||||
10
build.gradle
10
build.gradle
@@ -17,14 +17,8 @@ buildscript{
|
|||||||
//fake repository to download my patched robovm jar from
|
//fake repository to download my patched robovm jar from
|
||||||
ivy{
|
ivy{
|
||||||
url 'https://github.com/'
|
url 'https://github.com/'
|
||||||
|
patternLayout{ artifact '/[organisation]/[module]/raw/a-single-jar-file/[revision].jar' }
|
||||||
patternLayout {
|
metadataSources{ artifact() }
|
||||||
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() }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user