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'
|
2020-08-03 17:51:07 +02:00
|
|
|
id 'com.github.hierynomus.license' version '0.15.0'
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2020-01-20 14:51:20 +01:00
|
|
|
jcenter()
|
2019-11-02 17:23:48 +01:00
|
|
|
mavenCentral()
|
2020-01-14 23:38:03 +01:00
|
|
|
maven {
|
2019-11-02 17:23:48 +01:00
|
|
|
url 'https://jitpack.io'
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name 'sponge'
|
2020-01-20 14:51:20 +01:00
|
|
|
url 'http://repo.spongepowered.org/maven/'
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|
2019-11-12 20:46:00 +01:00
|
|
|
maven {
|
|
|
|
name 'CodeMC'
|
2020-01-20 14:51:20 +01:00
|
|
|
url 'https://repo.codemc.org/repository/maven-public/'
|
2019-11-12 20:46:00 +01:00
|
|
|
}
|
2020-01-20 14:51:20 +01:00
|
|
|
maven {
|
|
|
|
url = 'https://files.minecraftforge.net/maven/'
|
|
|
|
}
|
2020-05-10 01:28:09 +02:00
|
|
|
maven {
|
|
|
|
url "https://libraries.minecraft.net"
|
|
|
|
}
|
2020-05-11 20:07:39 +02:00
|
|
|
maven {
|
|
|
|
name = 'Fabric'
|
|
|
|
url = 'https://maven.fabricmc.net/'
|
|
|
|
}
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
compileJava.options.compilerArgs.add '-parameters'
|
|
|
|
compileTestJava.options.compilerArgs.add '-parameters'
|
2020-05-11 20:07:39 +02:00
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = "UTF-8"
|
|
|
|
}
|
2020-01-14 23:38:03 +01:00
|
|
|
|
2019-11-02 17:23:48 +01:00
|
|
|
apply plugin: 'java'
|
2020-01-15 21:20:39 +01:00
|
|
|
|
2020-03-30 01:45:32 +02:00
|
|
|
group = 'de.bluecolored.bluemap'
|
2020-08-25 15:18:44 +02:00
|
|
|
version = coreVersion
|
2020-08-03 17:51:07 +02:00
|
|
|
|
|
|
|
apply plugin: 'license'
|
|
|
|
license {
|
|
|
|
header rootProject.file('HEADER')
|
|
|
|
excludes([
|
2020-08-25 01:59:03 +02:00
|
|
|
'**/*.conf',
|
|
|
|
'**/*.yml',
|
|
|
|
'**/*.zip',
|
|
|
|
'**/*.json'
|
2020-08-03 17:51:07 +02:00
|
|
|
])
|
|
|
|
}
|
2019-11-02 17:23:48 +01:00
|
|
|
}
|
|
|
|
|
2020-03-30 01:45:32 +02:00
|
|
|
subprojects {
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
2020-01-14 23:38:03 +01:00
|
|
|
}
|