Skip to content

Commit

Permalink
feat(jar): exclude unused file
Browse files Browse the repository at this point in the history
  avoid unnamed package not allowed in module exception
  • Loading branch information
halibobo1205 committed Jul 30, 2024
1 parent de68d54 commit f783f74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ def binaryRelease(taskName, jarName, mainClass) {
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"

// exclude these files for awssdk
exclude "VersionInfo.java"

exclude("UpdateParserFiles.class")

manifest {
attributes "Main-Class": "${mainClass}"
}
Expand Down

0 comments on commit f783f74

Please sign in to comment.