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 d2b779a commit c26587f
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 @@ -178,6 +178,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 c26587f

Please sign in to comment.