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 f679fa20d2e..f5bb54afcd1 100644 --- a/platform/build.gradle +++ b/platform/build.gradle @@ -194,7 +194,7 @@ spotless { publishing { publications { - mavenPlatform(MavenPublication) { + mavenJavaPlatform(MavenPublication) { from components.javaPlatform groupId "org.hyperledger.besu" artifactId 'bom'