Skip to content

Commit c41c31c

Browse files
committed
fix javaHome datatype
1 parent 34f9a8e commit c41c31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/common-java.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ if (hasProperty("JDKToUse")) {
110110
options.with {
111111
fork = true
112112
forkOptions.executable = javaExecutables.javac
113-
forkOptions.javaHome = JDKToUse
113+
forkOptions.javaHome = file(JDKToUse)
114114
}
115115
}
116116
tasks.withType(Javadoc) {

0 commit comments

Comments
 (0)