diff --git a/gradle/java-module.gradle b/gradle/java-module.gradle index 55d2fbea37..34167c593a 100644 --- a/gradle/java-module.gradle +++ b/gradle/java-module.gradle @@ -231,6 +231,9 @@ if ( gradle.ext.javaToolchainEnabled ) { // Configure JVM Options jvmArgs( getProperty( 'toolchain.launcher.jvmargs' ).toString().split( ' ' ) ) + if ( project.hasProperty( 'test.jdk.launcher.args' ) ) { + jvmArgs( project.getProperty( 'test.jdk.launcher.args' ).toString().split( ' ' ) ) + } // Display version of Java tools doFirst {