File tree Expand file tree Collapse file tree 2 files changed +9
-35
lines changed Expand file tree Collapse file tree 2 files changed +9
-35
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
-
7
1
plugins {
8
2
`maven- publish`
9
3
signing
10
- id(" io.openapiprocessor.build.plugin.publish-base " )
4
+ id(" io.openapiprocessor.build.plugin.publish" )
11
5
}
12
6
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" ])
29
11
}
30
-
31
- repositories {
32
- sonatype(project)
33
- }
34
- }
35
-
36
- signing {
37
- initSignKey()
38
- sign(publishing.publications[" openapiprocessor" ])
39
12
}
40
13
}
41
14
42
- publishProcessor {
43
- deploymentName = " spring"
15
+ publishingCentral {
16
+ deploymentName = " micronaut"
17
+ waitFor = " VALIDATED"
44
18
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ processor = "2025.4-SNAPSHOT"
4
4
kotlin = " 2.2.10"
5
5
build-jdk = " 11"
6
6
test-jdk = " 17"
7
- build-plugins = " 2025.6 "
7
+ build-plugins = " 2025.9 "
8
8
9
9
api = " 2024.2"
10
10
base = " 2025.5.1"
You can’t perform that action at this time.
0 commit comments