BlueMap/build.gradle

64 lines
1.2 KiB
Groovy
Raw Normal View History

plugins {
2019-11-02 17:37:21 +01:00
id 'java'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'com.github.hierynomus.license' version '0.15.0'
}
allprojects {
repositories {
2020-01-20 14:51:20 +01:00
jcenter()
mavenCentral()
maven {
url 'https://jitpack.io'
}
maven {
name 'sponge'
2020-01-20 14:51:20 +01:00
url 'http://repo.spongepowered.org/maven/'
}
maven {
name 'CodeMC'
2020-01-20 14:51:20 +01:00
url 'https://repo.codemc.org/repository/maven-public/'
}
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/'
}
}
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"
}
apply plugin: 'java'
group = 'de.bluecolored.bluemap'
2020-04-06 17:08:10 +02:00
version = coreVersion + '-' + targetVersion
apply plugin: 'license'
license {
header rootProject.file('HEADER')
excludes([
'*.conf',
'*.yml',
'*.zip',
'*.json'
])
}
}
subprojects {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
}