-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
41 lines (37 loc) · 960 Bytes
/
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
plugins {
val indraVer = "3.1.3"
id("net.kyori.indra") version indraVer
id("net.kyori.indra.publishing") version indraVer
}
repositories {
mavenCentral()
}
dependencies {
implementation(libs.org.slf4j.slf4j.api)
implementation(libs.it.unimi.dsi.fastutil)
implementation(libs.org.yaml.snakeyaml)
}
tasks.jar {
manifest {
attributes("FMLModType" to "GAMELIBRARY")
}
}
indra {
javaVersions {
target(21)
}
publishSnapshotsTo("paperSnapshots", "https://papermc.io/repo/repository/maven-snapshots/")
publishReleasesTo("paperReleases", "https://papermc.io/repo/repository/maven-releases/")
gpl3OnlyLicense()
github("Tuinity", "YamlConfig")
configurePublications {
pom {
developers {
developer {
id = "spottedleaf"
}
}
}
}
signWithKeyFromProperties("signingKey", "signingPassword")
}