forked from BlueMap-Minecraft/BlueMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (56 loc) · 1.22 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
plugins {
id 'java'
id 'java-library'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'com.github.hierynomus.license' version '0.16.1'
id 'com.palantir.git-version' version '0.12.3'
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven {
url 'https://jitpack.io'
}
maven {
name 'sponge'
url 'https://repo.spongepowered.org/repository/maven-public/'
}
maven {
name 'CodeMC'
url 'https://repo.codemc.org/repository/maven-public/'
}
maven {
url "https://libraries.minecraft.net"
}
maven {
name 'Fabric'
url 'https://maven.fabricmc.net/'
}
}
compileJava.options.compilerArgs.add '-parameters'
compileTestJava.options.compilerArgs.add '-parameters'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
apply plugin: 'java'
apply plugin: 'java-library'
group = 'de.bluecolored.bluemap'
version = coreVersion
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
}