From a3e558fa3af5312cdcbf419a5562e21606d9d582 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Fri, 14 Jun 2024 10:45:15 +0200 Subject: [PATCH] chore: Don't generate sources jar --- build.gradle | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build.gradle b/build.gradle index 2e5bf01..36c9009 100644 --- a/build.gradle +++ b/build.gradle @@ -33,13 +33,6 @@ tasks.withType(JavaCompile).configureEach { it.options.encoding = "UTF-8" } -java { - // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task - // if it is present. - // If you remove this line, sources will not be generated. - withSourcesJar() -} - jar { from("LICENSE") { rename { "${it}_${project.archivesBaseName}"}