mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-30 22:44:23 +01:00
48 lines
892 B
Groovy
48 lines
892 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'com.github.johnrengelman.shadow' version '5.1.0'
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
maven {
|
|
name 'sponge'
|
|
url 'http://repo.spongepowered.org/maven'
|
|
}
|
|
maven {
|
|
name 'CodeMC'
|
|
url 'https://repo.codemc.org/repository/maven-public'
|
|
}
|
|
}
|
|
|
|
compileJava.options.compilerArgs.add '-parameters'
|
|
compileTestJava.options.compilerArgs.add '-parameters'
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':BlueMapCLI')
|
|
compile project(':BlueMapBukkit')
|
|
compile project(':BlueMapSponge')
|
|
}
|
|
|
|
assemble.dependsOn shadowJar {
|
|
relocate 'org.bstats.bukkit', 'de.bluecolored.bluemap.bstats.bukkit'
|
|
|
|
baseName = 'BlueMap'
|
|
version = null
|
|
classifier = null
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class' : "de.bluecolored.bluemap.cli.BlueMapCLI"
|
|
}
|
|
}
|