mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-24 11:38:37 +01:00
44 lines
771 B
Groovy
44 lines
771 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(':BlueMapSponge')
|
|
}
|
|
|
|
shadowJar {
|
|
baseName = 'BlueMap'
|
|
version = null
|
|
classifier = null
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class' : "de.bluecolored.bluemap.cli.BlueMapCLI"
|
|
}
|
|
} |