From 9b3ae05d1d1fc1b723948af486c5af99b82884a6 Mon Sep 17 00:00:00 2001 From: JellySquid Date: Sat, 26 Oct 2024 15:01:02 -0500 Subject: [PATCH] Exclude README documentation from processed resources These files are only meant to be in the source distribution, and Minecraft doesn't like them. --- common/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/common/build.gradle.kts b/common/build.gradle.kts index dd30605417..93c94010f9 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -92,6 +92,7 @@ fun exportSourceSetResources(name: String, sourceSet: SourceSet) { val compileTask = tasks.getByName(sourceSet.processResourcesTaskName) compileTask.apply { + exclude("**/README.txt") exclude("/*.accesswidener") }