File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ import org.springframework.boot.gradle.plugin.SpringBootPlugin
22
22
23
23
plugins {
24
24
`java- library`
25
+ `maven- publish`
25
26
checkstyle
27
+ signing
26
28
id(" org.jetbrains.kotlin.jvm" ) version " 1.7.10" apply false
27
29
id(" com.github.spotbugs" ) version " 5.0.9" apply false
28
30
id(" io.spring.dependency-management" ) version " 1.0.12.RELEASE" apply false
@@ -279,10 +281,11 @@ listOf(
279
281
}
280
282
}
281
283
282
- tasks.withType< Sign >().configureEach {
284
+ signing {
283
285
setRequired(isReleaseBuild)
284
- val publishing = extensions.findByName(" publishing" ) as PublishingExtension
285
- sign(publishing.publications[" mavenJava" ])
286
+ publishing.publications.configureEach {
287
+ sign(this )
288
+ }
286
289
}
287
290
}
288
291
}
You can’t perform that action at this time.
0 commit comments