Browse Source

Test: Don't set --module-path when not supported

modulesv2
weisj 3 years ago
parent
commit
ae4ec01bca
No known key found for this signature in database
GPG Key ID: 31124CB75461DA2A
  1. 1
      core/build.gradle.kts

1
core/build.gradle.kts

@ -38,6 +38,7 @@ dependencies {
}
fun JavaForkOptions.patchTestExecParams() {
if (!JavaVersion.current().isJava9Compatible || props.bool("skipModuleInfo")) return
val patchFiles = sourceSets.test.get().output.classesDirs +
sourceSets.test.get().resources.sourceDirectories +
sourceSets.main.get().resources.sourceDirectories

Loading…
Cancel
Save