Use java-library to exclude some deps.

This commit is contained in:
wizjany 2019-06-03 23:56:34 -04:00
parent 3df2410254
commit e3097dd0fc

View File

@ -1,6 +1,7 @@
apply plugin: 'eclipse' apply plugin: 'eclipse'
apply plugin: 'idea' apply plugin: 'idea'
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'java-library'
repositories { repositories {
maven { url "https://hub.spigotmc.org/nexus/content/groups/public" } maven { url "https://hub.spigotmc.org/nexus/content/groups/public" }
@ -15,14 +16,14 @@ configurations.all { Configuration it ->
} }
dependencies { dependencies {
compile project(':worldedit-core') api project(':worldedit-core')
compile project(':worldedit-libs:bukkit') api project(':worldedit-libs:bukkit')
compile 'org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT' // zzz api 'org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT' // zzz
compileOnly 'com.destroystokyo.paper:paper-api:1.13.2-R0.1-SNAPSHOT' 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' compileOnly 'com.sk89q:dummypermscompat:1.10'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.8.1' implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.8.1'
compile 'org.bstats:bstats-bukkit:1.4' implementation 'org.bstats:bstats-bukkit:1.4'
testCompile 'org.mockito:mockito-core:1.9.0-rc1' testCompile 'org.mockito:mockito-core:1.9.0-rc1'
} }