Updated RoboVM plugin

This commit is contained in:
Anuken 2021-06-25 12:18:28 -04:00
parent 5e3e07f002
commit dd36b71c7f

View File

@ -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"