forked from webbukkit/dynmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (42 loc) · 1.03 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
plugins {
id "com.github.johnrengelman.shadow" version "2.0.4"
id 'java'
id 'maven'
id 'maven-publish'
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/releases" }
maven { url "http://repo.mikeprimm.com" }
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "https://repo.codemc.org/repository/maven-public/" }
}
apply plugin: 'java'
group = 'us.dynmap'
version = '3.0-SNAPSHOT'
}
class Globals {
String buildNumber = System.getenv().BUILD_NUMBER ?: "Dev"
}
ext {
globals = new Globals()
}
subprojects {
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
clean {
delete "target"
}
task setupCIWorkspace {
}