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