We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51efcb4 commit 517ae4aCopy full SHA for 517ae4a
1 file changed
build.gradle
@@ -54,9 +54,10 @@ tasks.withType(JavaCompile).configureEach {
54
55
test {
56
dependsOn jre
57
+ inputs.dir tasks.jre.jreDir
58
59
def file = DefaultNativePlatform.currentOperatingSystem.isWindows() ? 'java.exe' : 'java'
- executable = layout.buildDirectory.file('jre/bin/' + file).get()
60
+ executable = tasks.jre.jreDir.file('bin/' + file)
61
62
useJUnitPlatform()
63
finalizedBy jacocoTestReport
0 commit comments