Skip to content

Commit

Permalink
fix more shadowjar pain
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNavaStar committed Nov 15, 2023
1 parent f0b52d0 commit 8027b70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ dependencies {

shadowJar {
configurations = [project.configurations.shadow]

exclude 'LICENSE'
exclude 'README'
exclude 'INFO_BIN'
exclude 'INFO_SRC'
minimize {
exclude(dependency('org.xerial:sqlite-jdbc:.*'))
exclude(dependency('mysql:mysql-connector-java:.*'))
}
minimize()
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ archives_base_name=sqlib

# Dependencies
# https://github.com/xerial/sqlite-jdbc/releases
sqlite_version=3.43.0.0
sqlite_version=3.44.0.0
# https://mvnrepository.com/artifact/mysql/mysql-connector-java
mysql_version=8.0.33
# https://github.com/FasterXML/jackson-dataformats-text
Expand Down

0 comments on commit 8027b70

Please sign in to comment.