Skip to content

Commit

Permalink
exclude datagen related files in built jar
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckscor3 committed Feb 22, 2023
1 parent 4d1aacb commit 7d48725
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ sourceSets.main.resources {
}

processResources {
exclude ".cache"
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
Expand All @@ -103,6 +104,7 @@ task sourcesJar(type: Jar, dependsOn: classes) {

jar {
from "LICENSE"
exclude('me/juancarloscp52/entropy/datagen/**')
}

// configure the maven publication
Expand Down

0 comments on commit 7d48725

Please sign in to comment.