-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
101 lines (83 loc) · 2.34 KB
/
build.gradle.kts
File metadata and controls
101 lines (83 loc) · 2.34 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
plugins {
id("java")
`maven-publish`
}
group = "com.github.NiFeather"
version = "2.3.6"
repositories {
mavenLocal()
gradlePluginPortal()
maven {
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
url = uri("https://jitpack.io")
content {
includeGroup("com.github.XiaMoZhiShi")
includeGroup("com.github.NiFeather")
includeGroup("com.github.MATRIX-feather")
}
}
maven {
url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")
content {
includeGroup("me.clip")
}
}
maven {
url = uri("https://repo.dmulloy2.net/repository/public/")
content {
includeGroup("com.comphenix.protocol")
}
}
maven {
url = uri("https://mvn.lumine.io/repository/maven-public")
content {
includeGroup("com.ticxo.modelengine")
}
}
maven {
url = uri("https://repo.minebench.de")
content {
includeGroup("de.themoep")
}
}
maven {
url = uri("https://repo.glaremasters.me/repository/towny")
content {
includeGroup("com.palmergames.bukkit.towny")
}
}
maven {
url = uri("https://repo.codemc.io/repository/maven-releases/")
content {
includeGroup("com.github.retrooper")
}
}
maven {
url = uri("https://repo.codemc.io/repository/maven-snapshots/")
content {
includeGroup("com.github.retrooper")
}
}
}
java.sourceCompatibility = JavaVersion.VERSION_17
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
implementation("org.jetbrains:annotations:24.0.0")
compileOnly("com.google.code.gson:gson:2.10")
compileOnly("it.unimi.dsi:fastutil:8.2.2")
val protocolVersion = if (rootProject.property("protocols_use_local_build") == "true")
rootProject.property("protocols_local_version")
else rootProject.property("protocols_version");
compileOnly("com.github.NiFeather:feathermorph-protocols:${protocolVersion}")
}
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.test {
useJUnitPlatform()
}