mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-28 17:40:09 +08:00
Fix publishing for mirai-bom
This commit is contained in:
parent
18e10c2ceb
commit
5816d4951e
@ -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"])
|
||||
}
|
Loading…
Reference in New Issue
Block a user