build: publish bom/catalog on release
This commit is contained in:
parent
a33b27e57d
commit
1109f9e610
|
@ -1,4 +1,5 @@
|
|||
import io.gitlab.jfronny.scripts.deployDebug
|
||||
import io.gitlab.jfronny.scripts.deployRelease
|
||||
|
||||
plugins {
|
||||
`java-platform`
|
||||
|
@ -14,6 +15,7 @@ publishing {
|
|||
}
|
||||
tasks.publish { dependsOn(tasks.build) }
|
||||
tasks.deployDebug.dependsOn(tasks.publish)
|
||||
tasks.deployRelease.dependsOn(tasks.deployDebug)
|
||||
|
||||
tasks.withType(GenerateModuleMetadata::class) {
|
||||
enabled = true
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import io.gitlab.jfronny.scripts.deployDebug
|
||||
import io.gitlab.jfronny.scripts.deployRelease
|
||||
|
||||
plugins {
|
||||
`version-catalog`
|
||||
|
@ -14,6 +15,7 @@ publishing {
|
|||
}
|
||||
tasks.publish { dependsOn(tasks.build) }
|
||||
tasks.deployDebug.dependsOn(tasks.publish)
|
||||
tasks.deployRelease.dependsOn(tasks.deployDebug)
|
||||
|
||||
tasks.withType(GenerateModuleMetadata::class) {
|
||||
enabled = true
|
||||
|
|
Loading…
Reference in New Issue