2020-01-11 11:32:47 +01:00
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
|
|
|
|
|
|
|
|
content {
|
|
|
|
includeGroup 'org.bukkit'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-04-09 15:35:52 +02:00
|
|
|
shadow "org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT"
|
2020-01-15 20:20:22 +01:00
|
|
|
compile group: 'org.bstats', name: 'bstats-bukkit-lite', version: '1.5'
|
2020-04-06 16:54:11 +02:00
|
|
|
|
|
|
|
compile (project(':BlueMapCommon')) {
|
|
|
|
//exclude dependencies provided by bukkit
|
|
|
|
exclude group: 'com.google.guava', module: 'guava'
|
|
|
|
exclude group: 'com.google.code.gson', module: 'gson'
|
|
|
|
exclude group: 'org.yaml', module: 'snakeyaml'
|
|
|
|
}
|
2020-01-11 11:32:47 +01:00
|
|
|
}
|
2020-03-30 01:45:32 +02:00
|
|
|
|
|
|
|
build.dependsOn shadowJar {
|
|
|
|
destinationDir = file '../build/release'
|
|
|
|
archiveFileName = "BlueMap-${version}-bukkit.jar"
|
|
|
|
|
2020-04-06 16:54:11 +02:00
|
|
|
relocate 'com.flowpowered.math', 'de.bluecolored.shadow.flowpowered.math'
|
|
|
|
relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config'
|
|
|
|
relocate 'net.querz.nbt', 'de.bluecolored.shadow.querz.nbt'
|
|
|
|
relocate 'ninja.leaping.configurate', 'de.bluecolored.shadow.ninja.leaping.configurate'
|
|
|
|
relocate 'org.apache.commons.io', 'de.bluecolored.shadow.apache.commons.io'
|
|
|
|
relocate 'org.apache.commons.lang3', 'de.bluecolored.shadow.apache.commons.lang3'
|
|
|
|
relocate 'org.bstats.bukkit', 'de.bluecolored.shadow.bstats.bukkit'
|
2020-03-30 01:45:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
include 'plugin.yml'
|
|
|
|
|
|
|
|
expand (
|
|
|
|
version: project.version
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|