I could not find out how to set system properties when executing JUnit 5 tests using Gradle. The standard test
task could be configured as follows:
test {
systemProperty 'org.slf4j.simpleLogger.defaultLogLevel', 'warn'
}
However, the junitPlatform
task seem to not have such an option.