diff --git a/build.gradle b/build.gradle index 8b6982cd4a0..9c9bb68939b 100644 --- a/build.gradle +++ b/build.gradle @@ -579,7 +579,7 @@ subprojects { password = artifactoryKey } defaults { - publications('mavenJava') + publications('mavenJava', 'mavenJavaPlatform') publishArtifacts = true publishPom = true } diff --git a/platform/build.gradle b/platform/build.gradle index 79c2c5c5651..148e5edc771 100644 --- a/platform/build.gradle +++ b/platform/build.gradle @@ -195,7 +195,7 @@ spotless { publishing { publications { - mavenPlatform(MavenPublication) { + mavenJavaPlatform(MavenPublication) { from components.javaPlatform groupId "org.hyperledger.besu" artifactId 'bom'