File tree Expand file tree Collapse file tree 1 file changed +7
-33
lines changed Expand file tree Collapse file tree 1 file changed +7
-33
lines changed Original file line number Diff line number Diff line change 1- import io.openapiprocessor.build.core.dsl.initFrom
2- import io.openapiprocessor.build.core.dsl.initSignKey
3- import io.openapiprocessor.build.core.dsl.sonatype
4- import io.openapiprocessor.build.core.getPomProperties
5- import org.gradle.accessors.dm.LibrariesForLibs
6-
71plugins {
82 `maven- publish`
93 signing
10- id(" io.openapiprocessor.build.plugin.publish-base " )
4+ id(" io.openapiprocessor.build.plugin.publish" )
115}
126
13- // central plugin setup must run in the context of the applying project
14- plugins.apply (" io.openapiprocessor.build.plugin.publish-central" )
15-
16- // see buildSrc/build.gradle.kts
17- val libs = the<LibrariesForLibs >()
18-
19- afterEvaluate {
20- publishing {
21- publications {
22- create<MavenPublication >(" openapiprocessor" ) {
23- from(components[" java" ])
24-
25- pom {
26- pom.initFrom(getPomProperties(project))
27- }
28- }
7+ publishing {
8+ publications {
9+ create<MavenPublication >(" openapiprocessor" ) {
10+ from(components[" java" ])
2911 }
30-
31- repositories {
32- sonatype(project)
33- }
34- }
35-
36- signing {
37- initSignKey()
38- sign(publishing.publications[" openapiprocessor" ])
3912 }
4013}
4114
42- publishProcessor {
15+ publishingCentral {
4316 deploymentName = " spring"
17+ waitFor = " VALIDATED"
4418}
You can’t perform that action at this time.
0 commit comments