Skip to content

Commit abdcb3d

Browse files
committed
Include jdwp module in slim runtimes
1 parent 65d4761 commit abdcb3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

de.peeeq.wurstscript/deploy.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ tasks.register("jdepsModules") {
7979

8080
def detected = outBuf.toString().trim()
8181
if (detected.isEmpty()) detected = "java.base"
82+
83+
def jdwpModule = "jdk.jdwp.agent"
84+
if (!detected.split(",").contains(jdwpModule)) {
85+
detected = detected + "," + jdwpModule
86+
}
87+
8288
if (!extraJdkModules.isEmpty()) detected = detected + "," + extraJdkModules
8389

8490
modulesTxt.get().asFile.text = detected

0 commit comments

Comments
 (0)