Skip to content

Commit

Permalink
Add the elliptic curve crypto module to jlink
Browse files Browse the repository at this point in the history
Adding this module is necessary to connect to Maven repositories that
require elliptic curve ciphers, such as GitHub's package repository.
  • Loading branch information
JordonPhillips committed Aug 26, 2024
1 parent 5752a2b commit a0f4953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smithy-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ System.setProperty("SMITHY_BINARY", "${smithyBinary}")

runtime {
addOptions("--compress", "2", "--strip-debug", "--no-header-files", "--no-man-pages")
addModules("java.logging", "java.xml", "java.naming")
addModules("java.logging", "java.xml", "java.naming", "jdk.crypto.ec")

launcher {
// This script is a combination of the default startup script used by the badass runtime
Expand Down

0 comments on commit a0f4953

Please sign in to comment.