mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-15 21:46:31 +08:00
Fix publishing for mirai-bom
This commit is contained in:
parent
18e10c2ceb
commit
5816d4951e
@ -33,17 +33,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
configurePublishing("mirai-bom", addProjectComponents = false)
|
||||||
publications {
|
publishing.publications.getByName<MavenPublication>("mavenJava") {
|
||||||
create<MavenPublication>("myPlatform") {
|
from(components["javaPlatform"])
|
||||||
groupId = rootProject.group.toString()
|
}
|
||||||
artifactId = "mirai-bom"
|
|
||||||
version = Versions.project
|
|
||||||
from(components["javaPlatform"])
|
|
||||||
setupPom(project)
|
|
||||||
configGpgSign(project)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
configurePublishing("mirai-bom", addProjectComponents = false)
|
|
Loading…
Reference in New Issue
Block a user