Skip to content

Commit

Permalink
Exclude README documentation from processed resources
Browse files Browse the repository at this point in the history
These files are only meant to be in the source distribution, and
Minecraft doesn't like them.
  • Loading branch information
jellysquid3 committed Oct 26, 2024
1 parent 90b8762 commit 9b3ae05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ fun exportSourceSetResources(name: String, sourceSet: SourceSet) {

val compileTask = tasks.getByName<ProcessResources>(sourceSet.processResourcesTaskName)
compileTask.apply {
exclude("**/README.txt")
exclude("/*.accesswidener")
}

Expand Down

0 comments on commit 9b3ae05

Please sign in to comment.