From da35b3c1741d996f39431c0b6add1ad099c136dc Mon Sep 17 00:00:00 2001 From: Kenzie Togami Date: Sun, 14 Apr 2019 01:53:04 -0700 Subject: [PATCH] Switch to using local maven for Piston --- settings.gradle | 2 -- worldedit-core/build.gradle | 15 +++++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/settings.gradle b/settings.gradle index 6b725d8d1..84bd77d7d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,3 @@ rootProject.name = 'worldedit' include 'worldedit-core', 'worldedit-bukkit', 'worldedit-forge', 'worldedit-sponge' - -includeBuild("../Piston") diff --git a/worldedit-core/build.gradle b/worldedit-core/build.gradle index 5f6cce5a6..bfd0aac32 100644 --- a/worldedit-core/build.gradle +++ b/worldedit-core/build.gradle @@ -13,6 +13,11 @@ configurations.all { Configuration it -> } } +repositories { + // temporary, for Piston + mavenLocal() +} + dependencies { compile 'de.schlichtherle:truezip:6.8.3' compile 'rhino:js:1.7R2' @@ -25,10 +30,12 @@ dependencies { compile 'com.sk89q.lib:jlibnoise:1.0.0' compile 'com.googlecode.json-simple:json-simple:1.1.1' compile 'org.slf4j:slf4j-api:1.7.26' - compileOnly 'org.enginehub.piston:core-ap-annotations:0.0.1-SNAPSHOT' - compile 'org.enginehub.piston:core-ap-runtime:0.0.1-SNAPSHOT' - annotationProcessor 'org.enginehub.piston:core-ap-processor:0.0.1-SNAPSHOT' - compile 'org.enginehub.piston:default-impl:0.0.1-SNAPSHOT' + + def pistonVersion = '0.0.1-SNAPSHOT' + compileOnly "org.enginehub.piston.core-ap:annotations:$pistonVersion" + compile "org.enginehub.piston.core-ap:runtime:$pistonVersion" + annotationProcessor "org.enginehub.piston.core-ap:processor:$pistonVersion" + compile "org.enginehub.piston:default-impl:$pistonVersion" //compile 'net.sf.trove4j:trove4j:3.0.3' testCompile 'org.mockito:mockito-core:1.9.0-rc1' }