Skip to content

Commit 390c64d

Browse files
committed
update publishing
1 parent eac5991 commit 390c64d

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
107107
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
108108
run: |
109-
./gradlew publishToMavenCentral --stacktrace
109+
./gradlew publishAllToMavenCentral --stacktrace
110110
111111
sonar:
112112
needs: [test]

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
3434
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
3535
run: |
36-
./gradlew publishToMavenCentral
36+
./gradlew publishAllToMavenCentral

buildSrc/src/main/kotlin/openapiparser.publish.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
`maven-publish`
3+
signing
34
id("io.openapiprocessor.build.plugin.publish")
45
}
56

@@ -14,8 +15,8 @@ publishing {
1415
}
1516

1617
publishingCentral {
17-
publication = "openapiparser"
1818
stagingDir = rootProject.layout.buildDirectory.dir("staging")
1919
deploymentDir = rootProject.layout.buildDirectory.dir("deployment")
2020
deploymentName = "parser"
21+
waitFor = "VALIDATED"
2122
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ openapiparser = "2025.4-SNAPSHOT"
33

44
build-jdk = "11"
55
test-jdk = "17"
6-
build-plugins = "2025.7-SNAPSHOT"
6+
build-plugins = "2025.9"
77

88
# using the embedded kotlin version of gradle to avoid mixed versions
99
kotlin = "2.2.10"

0 commit comments

Comments
 (0)