From 397f24a3f330be731489b2bfddcc6b5ff09bb4f8 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 25 May 2021 17:10:41 +0300 Subject: [PATCH] Update build.gradle --- build.gradle | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/build.gradle b/build.gradle index b757c136..1c69acd8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,10 @@ plugins { id 'fabric-loom' version '0.7-SNAPSHOT' - id 'maven-publish' + //id 'maven-publish' } +apply plugin: 'maven' + sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 @@ -88,20 +90,20 @@ jar { } // configure the maven publication -publishing { - publications { - mavenJava(MavenPublication) { - artifact(remapJar) { - builtBy remapJar - } - artifact(sourcesJar) { - builtBy remapSourcesJar - } - } - } - - // select the repositories you want to publish to - repositories { - mavenLocal() - } -} +//publishing { +// publications { +// mavenJava(MavenPublication) { +// artifact(remapJar) { +// builtBy remapJar +// } +// artifact(sourcesJar) { +// builtBy remapSourcesJar +// } +// } +// } +// +// // select the repositories you want to publish to +// repositories { +// mavenLocal() +// } +//}