From c1141ddede13297b089635eaa1156ec245ad7946 Mon Sep 17 00:00:00 2001 From: altrisi Date: Thu, 21 Apr 2022 18:02:22 +0200 Subject: [PATCH] Fix latest commit about publishing, forgot a few blocks... --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 753fc0fc..287abab2 100644 --- a/build.gradle +++ b/build.gradle @@ -65,7 +65,11 @@ jar { // configure the maven publication publishing { - from components.java + publications { + mavenJava(MavenPublication) { + from components.java + } + } // Select the repositories you want to publish to // To publish to maven local, no extra repositories are necessary. Just use the task `publishToMavenLocal`.