Fix publishing for mirai-bom

This commit is contained in:
Him188 2021-12-12 14:38:57 +00:00
parent 18e10c2ceb
commit 5816d4951e

View File

@ -33,17 +33,7 @@ dependencies {
}
}
publishing {
publications {
create<MavenPublication>("myPlatform") {
groupId = rootProject.group.toString()
artifactId = "mirai-bom"
version = Versions.project
from(components["javaPlatform"])
setupPom(project)
configGpgSign(project)
}
}
}
configurePublishing("mirai-bom", addProjectComponents = false)
publishing.publications.getByName<MavenPublication>("mavenJava") {
from(components["javaPlatform"])
}