File tree Expand file tree Collapse file tree 3 files changed +9
-32
lines changed Expand file tree Collapse file tree 3 files changed +9
-32
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
base
3
3
alias(libs.plugins.jacoco)
4
- id(" io.openapiprocessor.build.plugin.publish-central " )
4
+ id(" io.openapiprocessor.build.plugin.publish" )
5
5
}
6
6
7
7
// check
@@ -13,8 +13,9 @@ group = "io.openapiprocessor"
13
13
version = libs.versions.processor.get()
14
14
println (" version: $version " )
15
15
16
- publishProcessor {
16
+ publishingCentral {
17
17
stagingDir = layout.buildDirectory.dir(" staging" )
18
18
deploymentDir = layout.buildDirectory.dir(" deployment" )
19
- publish = false
19
+ deploymentName = " base"
20
+ waitFor = " VALIDATED"
20
21
}
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
7
publishing {
20
8
publications {
21
9
create<MavenPublication >(" openapiprocessor" ) {
22
10
from(components[" java" ])
23
-
24
- pom {
25
- pom.initFrom(getPomProperties(project))
26
- }
27
11
}
28
12
}
29
-
30
- repositories {
31
- sonatype(project)
32
- }
33
- }
34
-
35
- signing {
36
- initSignKey()
37
- sign(publishing.publications[" openapiprocessor" ])
38
13
}
39
14
40
- publishProcessor {
15
+ publishingCentral {
41
16
stagingDir = rootProject.layout.buildDirectory.dir(" staging" )
42
17
deploymentDir = rootProject.layout.buildDirectory.dir(" deployment" )
43
- publish = false
18
+ deploymentName = " base"
19
+ waitFor = " VALIDATED"
44
20
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ kotlin = "2.2.10"
7
7
build-jdk = " 11"
8
8
# target-jdk = "11"
9
9
test-jdk = " 17"
10
- build-plugins = " 2025.2 "
10
+ build-plugins = " 2025.9 "
11
11
12
12
junit = " 5.13.4"
13
13
jacoco = " 0.8.13"
You can’t perform that action at this time.
0 commit comments