File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
21
21
implementation(project(" :common" ))
22
22
23
23
compileOnly(" io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT" )
24
- compileOnly (" org.jetbrains.kotlin:kotlin-stdlib:1.9.22" ) // resolve conflicts with eco
24
+ implementation (" org.jetbrains.kotlin:kotlin-stdlib:1.9.22" )
25
25
}
26
26
27
27
java {
@@ -46,11 +46,8 @@ tasks.withType<ShadowJar> {
46
46
relocate(" org.intellij" , " $relocatePath .intellij" )
47
47
relocate(" org.reactivestreams" , " $relocatePath .reactivestreams" )
48
48
relocate(" retrofit2" , " $relocatePath .retrofit2" )
49
-
50
- // Exclude Kotlin to avoid conflicts with eco
51
- exclude(" kotlin/**" )
52
- exclude(" org/jetbrains/kotlin/**" )
53
- exclude(" META-INF/kotlin*" )
49
+ relocate(" kotlin" , " $relocatePath .kotlin" ) // Relocate instead of exclude
50
+ relocate(" org.jetbrains.kotlin" , " $relocatePath .jetbrains.kotlin" ) // Relocate instead of exclude
54
51
55
52
// Prevent Paper from giving errors about duplicate files
56
53
exclude(" META-INF/AL2.0" )
You can’t perform that action at this time.
0 commit comments