diff --git a/mirai-bom/build.gradle.kts b/mirai-bom/build.gradle.kts index fd83a8852..3e8f0bb91 100644 --- a/mirai-bom/build.gradle.kts +++ b/mirai-bom/build.gradle.kts @@ -33,17 +33,7 @@ dependencies { } } -publishing { - publications { - create("myPlatform") { - groupId = rootProject.group.toString() - artifactId = "mirai-bom" - version = Versions.project - from(components["javaPlatform"]) - setupPom(project) - configGpgSign(project) - } - } -} - -configurePublishing("mirai-bom", addProjectComponents = false) \ No newline at end of file +configurePublishing("mirai-bom", addProjectComponents = false) +publishing.publications.getByName("mavenJava") { + from(components["javaPlatform"]) +} \ No newline at end of file