Skip to content

Commit 4a68125

Browse files
committed
fix(build): Shade kotlin instead
1 parent e9d4f02 commit 4a68125

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ dependencies {
6868
}
6969
// Paper Lib, performance improvements on Paper-based servers and async teleporting on Folia
7070
implementation("io.papermc:paperlib:1.0.8")
71-
71+
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.0.21") {
72+
exclude("org.jetbrains", "annotations")
73+
}
7274
// Implemented manually mainly due to older server versions implementing versions of GSON
7375
// which don't support records.
7476
implementation("com.google.code.gson:gson:2.11.0")
@@ -159,6 +161,7 @@ tasks {
159161
relocate("com.mongodb", "$pack.mongodb")
160162
relocate("org.bson", "$pack.bson")
161163
relocate("io.papermc.lib", "$pack.paperlib")
164+
relocate("kotlin", "$pack.kotlin")
162165

163166
archiveClassifier.set("")
164167
}

src/main/resources/plugin.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ load: POSTWORLD
66
folia-supported: true
77
website: 'https://brewery.lumamc.net/'
88
authors: [Jsinco, Mitality, Nadwey, Szarkans, Vutka1, Thorinwasher, Tisawesomeness]
9-
libraries: ['org.jetbrains.kotlin:kotlin-stdlib:2.0.21']
109
softdepend:
1110
- LWC
1211
- LogBlock

0 commit comments

Comments
 (0)