diff --git a/build.gradle b/build.gradle index 64c0f3c..93a5d1e 100644 --- a/build.gradle +++ b/build.gradle @@ -102,10 +102,8 @@ java { publishing { - publications { - mavenJava(MavenPublication) { - from components.java - } + publications.create("mavenJava", MavenPublication) { + from components.java } repositories {} }