Skip to content

Commit 3b681c8

Browse files
authored
Add missing modules to runtime (#219)
Updates the runtime plugin config to include the same modules the smithy-cli does: https://github.com/smithy-lang/smithy/blob/fb9ef6dafe89742eefb87f0072b4c7762afd70d9/smithy-cli/build.gradle.kts#L99. Otherwise, we get some class defs not found when resolving dependencies. I don't have a good idea for how to avoid the duplication between the repos.
1 parent 6341ac7 commit 3b681c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ jar {
236236

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

241241
launcher {
242242
jvmArgs = [

0 commit comments

Comments
 (0)