File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ configurations.all { Configuration conf ->
55
55
tasks. withType(ScalaCompile ) { ScalaCompile task ->
56
56
task. sourceCompatibility = project. ext. minimumRuntimeVersion
57
57
task. targetCompatibility = project. ext. minimumRuntimeVersion
58
- task. options. forkOptions. executable = new File (project. ext. runtimeJavaHome, ' bin/java' ). canonicalPath
58
+ task. options. forkOptions. executable = new File (project. ext. runtimeJavaHome, ' bin/java' ). absolutePath
59
59
}
60
60
61
61
compileScala {
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ if (project.ext.scalaMajorVersion == '2.10') {
41
41
tasks. withType(ScalaCompile ) { ScalaCompile task ->
42
42
task. sourceCompatibility = project. ext. minimumRuntimeVersion
43
43
task. targetCompatibility = project. ext. minimumRuntimeVersion
44
- task. options. forkOptions. executable = new File (project. ext. runtimeJavaHome, ' bin/java' ). canonicalPath
44
+ task. options. forkOptions. executable = new File (project. ext. runtimeJavaHome, ' bin/java' ). absolutePath
45
45
}
46
46
47
47
compileScala {
You can’t perform that action at this time.
0 commit comments