mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 22:04:19 +07:00
Updated RoboVM plugin
This commit is contained in:
parent
5e3e07f002
commit
dd36b71c7f
22
build.gradle
22
build.gradle
@ -13,15 +13,25 @@ buildscript{
|
||||
google()
|
||||
maven{ url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
||||
maven{ url 'https://jitpack.io' }
|
||||
|
||||
//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() }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies{
|
||||
//use local, patched robovm gradle plugin if possible
|
||||
if(file("robovm-gradle-plugin.jar").exists()){
|
||||
classpath files("robovm-gradle-plugin.jar")
|
||||
}else{
|
||||
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.13'
|
||||
}
|
||||
//use local, patched robovm gradle plugin until my PR for gradle 7.0 support is merged
|
||||
//https://github.com/Anuken/robovm/raw/a-single-jar-file/robovm-gradle-plugin-2.3.14-SNAPSHOT.jar
|
||||
classpath "Anuken:robovm:robovm-gradle-plugin-2.3.14-SNAPSHOT"
|
||||
|
||||
classpath "com.github.Anuken.Arc:packer:$arcHash"
|
||||
classpath "com.github.Anuken.Arc:arc-core:$arcHash"
|
||||
|
Loading…
Reference in New Issue
Block a user