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,10 +55,10 @@ 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
59
}
59
60
60
61
compileScala {
61
- options. forkOptions. executable = new File (project. ext. runtimeJavaHome, ' bin/java' ). canonicalPath
62
62
configure(scalaCompileOptions. forkOptions) {
63
63
memoryMaximumSize = ' 1g'
64
64
jvmArgs = [' -XX:MaxPermSize=512m' ]
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ 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
45
}
45
46
46
47
compileScala {
47
- options. forkOptions. executable = new File (project. ext. runtimeJavaHome, ' bin/java' ). canonicalPath
48
48
configure(scalaCompileOptions. forkOptions) {
49
49
memoryMaximumSize = ' 1g'
50
50
jvmArgs = [' -XX:MaxPermSize=512m' ]
You can’t perform that action at this time.
0 commit comments