File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
22 `kotlin- dsl`
33 `maven- publish`
44 signing
5+ alias(libs.plugins.pubplug)
56 alias(libs.plugins.publish)
67 alias(libs.plugins.versions)
78 id(" compile" )
@@ -65,11 +66,6 @@ tasks.compileGroovy {
6566tasks.compileKotlin {
6667 libraries.from(sourceSets.main.get().groovy.classesDirectory)
6768}
68- //
69-
70- // tasks.named("publishToMavenCentral") {
71- // dependsOn("publishPluginMavenPublicationToStagingRepository")
72- // }
7369
7470tasks.named<Test >(" testInt" ) {
7571 shouldRunAfter(tasks.named(" test" ))
@@ -106,31 +102,7 @@ gradlePlugin {
106102 }
107103}
108104
109-
110- publishing {
111-
112- }
113-
114105publishingCentral {
115106 deploymentName = " gradle"
116107 waitFor = " VALIDATED"
117108}
118-
119-
120- // publishing {
121- // repositories {
122- // sonatype(project)
123- // }
124- // }
125- //
126- // val mavenPublications = publishing.publications.withType<MavenPublication>()
127- // mavenPublications.all {
128- // pom {
129- // pom.initFrom(getPomProperties(project))
130- // }
131- // }
132- //
133- // signing {
134- // initSignKey()
135- // sign(*mavenPublications.toTypedArray<Publication>())
136- // }
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ bytebuddy = "1.17.6"
88
99# plugins
1010updates = " 0.51.0"
11- build-plugins = " 2025.9"
11+ build-plugins = " 2025.10-SNAPSHOT"
12+ pubplug = " 1.3.1"
1213
1314[libraries ]
1415openapi-processor-api = { module = " io.openapiprocessor:openapi-processor-api" , version.ref = " api" }
@@ -18,7 +19,7 @@ spock-core = { module = "org.spockframework:spock-core" }
1819bytebuddy = { module = " net.bytebuddy:byte-buddy" , version.ref = " bytebuddy" }
1920
2021[plugins ]
21- # publish = { id = "com.gradle.plugin-publish", version.ref = "publish " }
22+ pubplug = { id = " com.gradle.plugin-publish" , version.ref = " pubplug " }
2223updates = { id = " com.github.ben-manes.versions" , version.ref = " updates" }
2324publish = { id = " io.openapiprocessor.build.plugin.publish" , version.ref = " build-plugins" }
2425versions = { id = " io.openapiprocessor.build.plugin.create-versions" , version.ref = " build-plugins" }
You can’t perform that action at this time.
0 commit comments