From dd36b71c7f5064b6d58db7c0e4d9306016d27d5f Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 25 Jun 2021 12:18:28 -0400 Subject: [PATCH] Updated RoboVM plugin --- build.gradle | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 9ddf614821..78c9adb4ba 100644 --- a/build.gradle +++ b/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"