-
Notifications
You must be signed in to change notification settings - Fork 440
/
Copy pathbuild.gradle.kts
55 lines (45 loc) · 1.37 KB
/
build.gradle.kts
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
plugins {
id("com.gradleup.shadow") version "8.3.5"
id("java")
id("maven-publish")
id("io.papermc.paperweight.userdev") version "1.7.5" apply false
eclipse
}
eclipse {
project {
name = "Dynmap"
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven { url = uri("https://libraries.minecraft.net/") }
maven { url = uri("https://oss.sonatype.org/content/repositories/releases") }
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
maven { url = uri("https://repo.mikeprimm.com") }
maven { url = uri("https://repo.maven.apache.org/maven2") }
maven { url = uri("https://papermc.io/repo/repository/maven-public/") }
maven { url = uri("https://repo.codemc.org/repository/maven-public/") }
}
apply(plugin = "java")
group = "us.dynmap"
version = "3.8-beta-1"
}
ext["buildNumber"] = System.getenv("BUILD_NUMBER") ?: "Dev"
subprojects {
apply(plugin = "com.gradleup.shadow")
apply(plugin = "java")
apply(plugin = "maven-publish")
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
}
tasks.named<Delete>("clean") {
delete("target")
}
tasks.register("setupCIWorkspace")