Skip to content

Commit

Permalink
Copy JCommander library to distribution directory
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Nov 1, 2024
1 parent fc2c486 commit 1c8498e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dist/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ dependencies {
implementation project(':server-auth:shiro')
implementation project(':server-mirror-git')
implementation project(':xds')
// Add the optionalImplementation to copy the JAR into the distribution directory.
implementation libs.jcommander

// Logging
runtimeOnly libs.logback12
Expand Down
2 changes: 1 addition & 1 deletion server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
// DiffUtils
implementation libs.diffutils

// jCommander
// jCommander. optionalImplementation must be also added to the :dist dependencies.
optionalImplementation libs.jcommander

// Because the default targetJavaVersion is 8, jgit5 is chosen and published with the server artifact.
Expand Down

0 comments on commit 1c8498e

Please sign in to comment.