Skip to content

Commit 605f7f6

Browse files
committed
Fix the Maven Central publication
1 parent e153adc commit 605f7f6

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Diff for: buildSrc/src/main/kotlin/project-publish-script.gradle.kts

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ publishing {
2323
description.set(project.description)
2424

2525
developers {
26-
name.set("Jakob K")
26+
developer {
27+
name.set("Jakob K")
28+
}
2729
}
2830

2931
licenses {

Diff for: silk-compose-mojang-api/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ plugins {
66
description = "Silk Compose Mojang API extracts Minecraft assets from the client jar"
77

88
dependencies {
9+
implementation(kotlin("stdlib"))
910
implementation("org.slf4j:slf4j-api:1.7.36")
1011
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3")
1112
}

Diff for: silk-compose/build.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ val includeTransitive: Configuration by configurations.creating {
1414
}
1515

1616
dependencies {
17-
include(api(project(":${rootProject.name}-mojang-api"))!!)
1817
ksp(project(":${rootProject.name}-ksp"))
18+
include(compileOnly(project(":${rootProject.name}-mojang-api"))!!)
1919

2020
modApi("net.silkmc:silk-core:1.9.0")
2121

22-
includeTransitive(api("org.jetbrains.kotlinx:multik-api:0.1.1")!!)
23-
includeTransitive(api("org.jetbrains.kotlinx:multik-jvm:0.1.1")!!)
22+
includeTransitive(implementation("org.jetbrains.kotlinx:multik-api:0.1.1")!!)
23+
includeTransitive(implementation("org.jetbrains.kotlinx:multik-jvm:0.1.1")!!)
2424

25-
includeTransitive(api("com.github.ajalt.colormath:colormath:3.2.0")!!)
25+
includeTransitive(implementation("com.github.ajalt.colormath:colormath-jvm:3.2.0")!!)
2626

2727
includeTransitive(api(compose.desktop.common)!!)
2828
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)

0 commit comments

Comments
 (0)