File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed
Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,29 @@ plugins.apply("io.openapiprocessor.build.plugin.publish-central")
1616// see buildSrc/build.gradle.kts
1717val libs = the<LibrariesForLibs >()
1818
19- publishing {
20- publications {
21- create<MavenPublication >(" openapiprocessor" ) {
22- from(components[" java" ])
19+ afterEvaluate {
20+ publishing {
21+ publications {
22+ create<MavenPublication >(" openapiprocessor" ) {
23+ from(components[" java" ])
2324
24- pom {
25- pom.initFrom(getPomProperties(project))
25+ pom {
26+ pom.initFrom(getPomProperties(project))
27+ }
2628 }
2729 }
30+
31+ repositories {
32+ sonatype(project)
33+ }
2834 }
2935
30- repositories {
31- sonatype(project)
36+ signing {
37+ initSignKey()
38+ sign(publishing.publications[" openapiprocessor" ])
3239 }
3340}
3441
35- signing {
36- initSignKey()
37- sign(publishing.publications[" openapiprocessor" ])
42+ publishProcessor {
43+ deploymentName = " spring"
3844}
You can’t perform that action at this time.
0 commit comments