Allow passing test launcher args through project properties
This commit is contained in:
parent
075eb51500
commit
f46d61b6e7
|
@ -231,6 +231,9 @@ if ( gradle.ext.javaToolchainEnabled ) {
|
||||||
|
|
||||||
// Configure JVM Options
|
// Configure JVM Options
|
||||||
jvmArgs( getProperty( 'toolchain.launcher.jvmargs' ).toString().split( ' ' ) )
|
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
|
// Display version of Java tools
|
||||||
doFirst {
|
doFirst {
|
||||||
|
|
Loading…
Reference in New Issue