File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 11plugins {
22 base
33 alias(libs.plugins.jacoco)
4+ id(" io.openapiprocessor.build.plugin.publish-central" )
45}
56
67repositories {
@@ -15,3 +16,9 @@ tasks.named("build") {
1516group = " io.openapiprocessor"
1617version = libs.versions.openapiparser.get()
1718println (" version: $version " )
19+
20+ publishProcessor {
21+ stagingDir = layout.buildDirectory.dir(" staging" )
22+ deploymentDir = layout.buildDirectory.dir(" deployment" )
23+ publish = false
24+ }
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
@@ -35,5 +40,7 @@ signing {
3540}
3641
3742publishProcessor {
38- publish = true
43+ stagingDir = rootProject.layout.buildDirectory.dir(" staging" )
44+ deploymentDir = rootProject.layout.buildDirectory.dir(" deployment" )
45+ publish = false
3946}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ openapiparser = "2025.4-SNAPSHOT"
33
44build-jdk = " 11"
55test-jdk = " 17"
6- build-plugins = " 2025.1 "
6+ build-plugins = " 2025.4-SNAPSHOT "
77
88# using the embedded kotlin version of gradle to avoid mixed versions
99kotlin = " 2.2.10"
You can’t perform that action at this time.
0 commit comments