From fac02f3d92d5a5d4131d3e464a487c354936ef1d Mon Sep 17 00:00:00 2001 From: Ike Johnson-Woods Date: Sun, 14 Jul 2024 23:12:28 +0800 Subject: [PATCH] Slight tidying of buildscript --- build.gradle | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 25ceb6e..218a7b4 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,6 @@ plugins { id 'net.neoforged.moddev' version '1.0.8' } -// jarJar.enable() group = mod_group_id base { @@ -15,12 +14,11 @@ base { ext.buildnumber = 0 +version = "${mod_version}" if (System.getenv('GITHUB_RUN_NUMBER')) { project.buildnumber = System.getenv('GITHUB_RUN_NUMBER') as Integer version = "${mod_version}+${buildnumber}-gha" -} else { - version = "${mod_version}" } @@ -50,9 +48,6 @@ dependencies { exclude group: "com.google.guava" } - if (System.getProperty("idea.sync.active") != "true") { - annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' - } } @@ -118,10 +113,6 @@ tasks.withType(ProcessResources).configureEach { } } -tasks.named('jar', Jar).configure { - archiveClassifier = 'slim' -} - tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8'