mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Updated RoboVM / Switched to hard-coded SDK platform jar
This commit is contained in:
parent
625f2640d8
commit
e23837a4ba
3 changed files with 6 additions and 23 deletions
|
|
@ -18,12 +18,6 @@ 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){
|
||||
|
|
@ -35,7 +29,7 @@ task deploy(type: Copy){
|
|||
}
|
||||
|
||||
android{
|
||||
buildToolsVersion '30.0.2'
|
||||
buildToolsVersion '30.0.3'
|
||||
compileSdkVersion 30
|
||||
sourceSets{
|
||||
main{
|
||||
|
|
@ -145,8 +139,9 @@ dependencies{
|
|||
gpImplementation "com.google.android.gms:play-services-games:21.0.0"
|
||||
gpImplementation "com.google.android.gms:play-services-auth:19.0.0"
|
||||
|
||||
//android dependencies magically disappear during compilation, thanks gradle!
|
||||
compileOnly "Anuken:Arc:android"
|
||||
//TODO dynamically find best android platform jar instead of hard-coding to 30
|
||||
def sdkFile = new File((String)findSdkDir(), "/platforms/android-30/android.jar")
|
||||
if(sdkFile.exists()) compileOnly files(sdkFile.absolutePath)
|
||||
}
|
||||
|
||||
task copyAndroidNatives(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue