From e3097dd0fca635eb8a572366766a46eb3f6a753f Mon Sep 17 00:00:00 2001 From: wizjany Date: Mon, 3 Jun 2019 23:56:34 -0400 Subject: [PATCH] Use java-library to exclude some deps. --- worldedit-bukkit/build.gradle | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/worldedit-bukkit/build.gradle b/worldedit-bukkit/build.gradle index 17cdc5f6e..28dc522c6 100644 --- a/worldedit-bukkit/build.gradle +++ b/worldedit-bukkit/build.gradle @@ -1,6 +1,7 @@ apply plugin: 'eclipse' apply plugin: 'idea' apply plugin: 'maven' +apply plugin: 'java-library' repositories { maven { url "https://hub.spigotmc.org/nexus/content/groups/public" } @@ -15,14 +16,14 @@ configurations.all { Configuration it -> } dependencies { - compile project(':worldedit-core') - compile project(':worldedit-libs:bukkit') - compile 'org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT' // zzz + api project(':worldedit-core') + api project(':worldedit-libs:bukkit') + api 'org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT' // zzz compileOnly 'com.destroystokyo.paper:paper-api:1.13.2-R0.1-SNAPSHOT' - compile 'io.papermc:paperlib:1.0.2' + implementation 'io.papermc:paperlib:1.0.2' compileOnly 'com.sk89q:dummypermscompat:1.10' - compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.8.1' - compile 'org.bstats:bstats-bukkit:1.4' + implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.8.1' + implementation 'org.bstats:bstats-bukkit:1.4' testCompile 'org.mockito:mockito-core:1.9.0-rc1' }