Skip to content

Commit 395329f

Browse files
committed
Apply publishing plugins declaratively
1 parent ebfeb62 commit 395329f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ buildscript {
1010
}
1111
plugins {
1212
id 'java-platform'
13+
id 'maven-publish'
14+
id 'signing'
1315
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
1416
id 'io.franzbecker.gradle-lombok' version '5.0.0'
1517
}
@@ -260,9 +262,6 @@ subprojects { project ->
260262
// The root project has no sources, but the dependency platform also needs to be published as an artifact
261263
// See https://docs.gradle.org/current/userguide/java_platform_plugin.html
262264
// See https://github.com/Yubico/java-webauthn-server/issues/93#issuecomment-822806951
263-
apply plugin: 'maven-publish'
264-
apply plugin: 'signing'
265-
266265
publishing {
267266
publications {
268267
jars(MavenPublication) {

0 commit comments

Comments
 (0)