Skip to content

Commit

Permalink
Filter package-info.class (HMCL-dev#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo authored Dec 20, 2023
1 parent ab41fef commit d584c10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HMCL/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ val jarPath = tasks.jar.get().archiveFile.get().asFile
tasks.getByName<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") {
archiveClassifier.set(null as String?)

exclude("**/package-info.class")

minimize {
exclude(dependency("com.google.code.gson:.*:.*"))
exclude(dependency("com.github.steveice10:.*:.*"))
Expand Down

0 comments on commit d584c10

Please sign in to comment.