forked from TriumphTeam/triumph-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (35 loc) · 1.16 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
plugins {
id("java-library")
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}
subprojects {
apply {
plugin("java-library")
}
group = "dev.octomc"
version = "1.4.0"
dependencies {
compileOnly("org.jetbrains:annotations:24.1.0")
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
val adventureVersion = "4.17.0"
compileOnly("net.kyori:adventure-api:$adventureVersion")
compileOnly("net.kyori:adventure-text-serializer-legacy:$adventureVersion")
compileOnly("net.kyori:adventure-text-serializer-gson:$adventureVersion")
compileOnly("net.kyori:adventure-text-minimessage:$adventureVersion")
compileOnly("net.kyori:adventure-platform-bukkit:4.3.3")
}
tasks {
withType<JavaCompile> {
sourceCompatibility = JavaVersion.VERSION_21.toString()
targetCompatibility = JavaVersion.VERSION_21.toString()
options.encoding = "UTF-8"
}
}
}