-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle.kts
65 lines (50 loc) · 1.45 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
56
57
58
59
60
61
62
63
64
65
plugins {
alias(libs.plugins.indra)
alias(libs.plugins.indra.licenser.spotless)
alias(libs.plugins.paperweight)
alias(libs.plugins.runpaper)
}
group = "org.geysermc.globallinkserver"
dependencies {
paperweight.paperDevBundle("1.21.4-R0.1-SNAPSHOT")
compileOnly(libs.floodgate.api)
implementation(libs.mariadb.client)
implementation(libs.bundles.fastutil)
compileOnly(libs.checker.qual)
}
indra {
github("GeyserMC", "GlobalLinkServer") {
ci(true)
issues(true)
scm(true)
}
mitLicense()
javaVersions {
target(21)
}
spotless {
java {
// Broken until paperweight updates to a newer version of spotless (6.23.3+)
// palantirJavaFormat()
formatAnnotations()
}
ratchetFrom("origin/master")
}
}
repositories {
mavenLocal()
maven("https://repo.opencollab.dev/main")
maven("https://repo.papermc.io/repository/maven-public/")
mavenCentral()
maven("https://jitpack.io") {
content { includeGroupByRegex("com\\.github\\..*") }
}
}
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
tasks.jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
archiveBaseName = "GlobalLinkPlugin"
archiveVersion = ""
archiveClassifier = ""
}