Skip to content

Commit 7ce4674

Browse files
committed
fix build.gradle.kts to generate a proper POM for publishing
1 parent 8e2c6d7 commit 7ce4674

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Diff for: build.gradle.kts

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212
}
1313

1414
group = "com.zp4rker"
15-
version = "2.1.0-k2.0.21"
15+
version = "2.1.1-k2.0.21"
1616
description = "Kotlin meets Bukkit. Kotlin packaged into a plugin, as well as some added features using Kotlin"
1717

1818
val mcVersion = "1.21.1"
@@ -25,9 +25,9 @@ repositories {
2525
}
2626

2727
dependencies {
28-
compileOnly(kotlin("stdlib"))
29-
compileOnly(kotlin("reflect"))
30-
compileOnly("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
28+
api(kotlin("stdlib"))
29+
api(kotlin("reflect"))
30+
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
3131

3232
compileOnly("io.papermc.paper:paper-api:$mcVersion-R0.1-SNAPSHOT")
3333

@@ -42,6 +42,9 @@ tasks {
4242
shadowJar {
4343
archiveClassifier = ""
4444
relocate("org.bstats", "com.zp4rker.bukkot.bstats")
45+
dependencies {
46+
include { it.moduleGroup == "org.bstats"}
47+
}
4548
}
4649

4750
processResources {

Diff for: gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kotlin.stdlib.default.dependency=false

0 commit comments

Comments
 (0)