Skip to content

Commit d17077b

Browse files
yrodiereDavideD
authored andcommitted
Allow passing test launcher args through project properties
1 parent bed7734 commit d17077b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ subprojects {
198198
tasks.test {
199199
// Configure JVM Options
200200
jvmArgs(getProperty('toolchain.launcher.jvmargs').toString().split(' '))
201+
if ( project.hasProperty( 'test.jdk.launcher.args' ) ) {
202+
jvmArgs( project.getProperty( 'test.jdk.launcher.args' ).toString().split( ' ' ) )
203+
}
201204
}
202205

203206
// Display version of Java tools

0 commit comments

Comments
 (0)