2020-05-10 01:28:09 +02:00
|
|
|
repositories {
|
2020-04-20 16:44:14 +02:00
|
|
|
maven {
|
2020-01-11 11:32:47 +01:00
|
|
|
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
|
|
|
|
|
|
|
|
content {
|
2020-07-02 15:52:22 +02:00
|
|
|
includeGroup 'org.spigotmc'
|
2020-01-11 11:32:47 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-08-25 18:05:25 +02:00
|
|
|
shadow "org.spigotmc:spigot-api:1.13-R0.1-SNAPSHOT"
|
2020-08-19 21:11:13 +02:00
|
|
|
|
2020-08-21 11:39:27 +02: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
|
2020-08-30 13:25:22 +02:00
|
|
|
exclude group: 'com.google.guava', module: 'guava'
|
2020-04-06 16:54:11 +02:00
|
|
|
exclude group: 'com.google.code.gson', module: 'gson'
|
|
|
|
}
|
2020-01-11 11:32:47 +01:00
|
|
|
}
|
2020-03-30 01:45:32 +02:00
|
|
|
|
|
|
|
build.dependsOn shadowJar {
|
2020-08-25 15:44:25 +02:00
|
|
|
destinationDir = file '../../build/release'
|
2020-08-25 18:05:25 +02:00
|
|
|
archiveFileName = "BlueMap-${version}-spigot.jar"
|
2020-03-30 01:45:32 +02:00
|
|
|
|
2020-04-20 13:49:56 +02:00
|
|
|
//relocate 'com.flowpowered.math', 'de.bluecolored.shadow.flowpowered.math' //DON'T relocate this, because the API depends on it
|
2020-04-06 16:54:11 +02:00
|
|
|
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-05-10 01:28:09 +02:00
|
|
|
relocate 'com.mojang.brigadier', 'de.bluecolored.shadow.mojang.brigadier'
|
2020-08-23 12:36:29 +02:00
|
|
|
relocate 'com.github.benmanes.caffeine', 'de.bluecolored.shadow.benmanes.caffeine'
|
|
|
|
relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone'
|
2020-08-30 13:25:22 +02:00
|
|
|
relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance'
|
2020-08-30 14:41:51 +02:00
|
|
|
relocate 'javax.inject', 'de.bluecolored.shadow.javax.inject'
|
2020-08-30 13:25:22 +02:00
|
|
|
relocate 'com.google.inject', 'de.bluecolored.shadow.google.inject'
|
2020-08-23 12:36:29 +02:00
|
|
|
relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework'
|
2020-08-30 13:25:22 +02:00
|
|
|
relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus'
|
2020-03-30 01:45:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
include 'plugin.yml'
|
|
|
|
|
|
|
|
expand (
|
|
|
|
version: project.version
|
|
|
|
)
|
|
|
|
}
|
2020-01-11 11:32:47 +01:00
|
|
|
}
|