From 824a2cf0a3d00bfe30b1f60b934ee0d67374da24 Mon Sep 17 00:00:00 2001 From: BitHeaven Date: Tue, 21 Jan 2025 04:39:04 +0500 Subject: [PATCH] MORE UPDATES --- build.gradle | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/build.gradle b/build.gradle index 88d64fe..505cf3e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,9 @@ plugins { - id "fabric-loom" version "1.9-SNAPSHOT" + id "fabric-loom" version "1.8+" id "io.github.p03w.machete" version "1.+" // automatic jar compressing on build id 'maven-publish' } -sourceCompatibility = JavaVersion.VERSION_17 - base.archivesName = archives_base_name group = project.maven_group @@ -110,7 +108,7 @@ processResources { tasks.withType(JavaCompile).configureEach { it.options.encoding = "UTF-8" - it.options.release = Integer.parseInt(sourceCompatibility) + it.options.release = 17 } java { @@ -122,20 +120,3 @@ jar { rename { "${it}_${project.archivesBaseName}"} } } - -// configure the maven publication -publishing { - publications { - mavenJava(MavenPublication) { - from components.java - } - } - - // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. - repositories { - // Add repositories to publish to here. - // Notice: This block does NOT have the same function as the block in the top level. - // The repositories here will be used for publishing your artifact, not for - // retrieving dependencies. - } -}