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.deployDebug
|
||||||
|
import io.gitlab.jfronny.scripts.deployRelease
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
`java-platform`
|
`java-platform`
|
||||||
|
@ -14,6 +15,7 @@ publishing {
|
||||||
}
|
}
|
||||||
tasks.publish { dependsOn(tasks.build) }
|
tasks.publish { dependsOn(tasks.build) }
|
||||||
tasks.deployDebug.dependsOn(tasks.publish)
|
tasks.deployDebug.dependsOn(tasks.publish)
|
||||||
|
tasks.deployRelease.dependsOn(tasks.deployDebug)
|
||||||
|
|
||||||
tasks.withType(GenerateModuleMetadata::class) {
|
tasks.withType(GenerateModuleMetadata::class) {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import io.gitlab.jfronny.scripts.deployDebug
|
import io.gitlab.jfronny.scripts.deployDebug
|
||||||
|
import io.gitlab.jfronny.scripts.deployRelease
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
`version-catalog`
|
`version-catalog`
|
||||||
|
@ -14,6 +15,7 @@ publishing {
|
||||||
}
|
}
|
||||||
tasks.publish { dependsOn(tasks.build) }
|
tasks.publish { dependsOn(tasks.build) }
|
||||||
tasks.deployDebug.dependsOn(tasks.publish)
|
tasks.deployDebug.dependsOn(tasks.publish)
|
||||||
|
tasks.deployRelease.dependsOn(tasks.deployDebug)
|
||||||
|
|
||||||
tasks.withType(GenerateModuleMetadata::class) {
|
tasks.withType(GenerateModuleMetadata::class) {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
Loading…
Reference in New Issue