2019-11-02 17:23:48 +01:00
|
|
|
plugins {
|
2019-11-02 17:37:21 +01:00
|
|
|
id 'java'
|
2019-11-17 11:55:05 +01:00
|
|
|
id 'com.github.johnrengelman.shadow' version '5.1.0'
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url 'https://jitpack.io'
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name 'sponge'
|
|
|
|
url 'http://repo.spongepowered.org/maven'
|
|
|
|
}
|
2019-11-12 20:46:00 +01:00
|
|
|
maven {
|
|
|
|
name 'CodeMC'
|
|
|
|
url 'https://repo.codemc.org/repository/maven-public'
|
|
|
|
}
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
compileJava.options.compilerArgs.add '-parameters'
|
|
|
|
compileTestJava.options.compilerArgs.add '-parameters'
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':BlueMapCLI')
|
2020-01-07 04:14:22 +01:00
|
|
|
compile project(':BlueMapSponge')
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
baseName = 'BlueMap'
|
2019-12-29 16:58:45 +01:00
|
|
|
version = null
|
2019-11-02 17:23:48 +01:00
|
|
|
classifier = null
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
2019-11-02 17:37:21 +01:00
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class' : "de.bluecolored.bluemap.cli.BlueMapCLI"
|
|
|
|
}
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|