File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
2+ base
3+ alias(libs.plugins.jacoco)
4+ id(" io.openapiprocessor.build.plugin.publish-central" )
25}
36
7+ // check
8+ // tasks.named("build") {
9+ // dependsOn ("jacocoLogAggregatedCoverage")
10+ // }
11+
412group = " io.openapiprocessor"
513version = libs.versions.processor.get()
614println (" version: $version " )
15+
16+ publishProcessor {
17+ stagingDir = layout.buildDirectory.dir(" staging" )
18+ deploymentDir = layout.buildDirectory.dir(" deployment" )
19+ publish = false
20+ }
Original file line number Diff line number Diff line change @@ -5,9 +5,14 @@ import io.openapiprocessor.build.core.getPomProperties
55import org.gradle.accessors.dm.LibrariesForLibs
66
77plugins {
8- id(" io.openapiprocessor.build.plugin.publish-central" )
8+ `maven- publish`
9+ signing
10+ id(" io.openapiprocessor.build.plugin.publish-base" )
911}
1012
13+ // central plugin setup must run in the context of the applying project
14+ plugins.apply (" io.openapiprocessor.build.plugin.publish-central" )
15+
1116// see buildSrc/build.gradle.kts
1217val libs = the<LibrariesForLibs >()
1318
@@ -31,3 +36,9 @@ signing {
3136 initSignKey()
3237 sign(publishing.publications[" openapiprocessor" ])
3338}
39+
40+ publishProcessor {
41+ stagingDir = rootProject.layout.buildDirectory.dir(" staging" )
42+ deploymentDir = rootProject.layout.buildDirectory.dir(" deployment" )
43+ publish = false
44+ }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ kotlin = "2.2.10"
77build-jdk = " 11"
88# target-jdk = "11"
99test-jdk = " 17"
10- build-plugins = " 2025.1 -SNAPSHOT"
10+ build-plugins = " 2025.2 -SNAPSHOT"
1111
1212junit = " 5.13.4"
1313jacoco = " 0.8.13"
You can’t perform that action at this time.
0 commit comments