Skip to content

Commit

Permalink
Convert remaining compilerJavaHome reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed May 28, 2020
1 parent beb1d0c commit fdb8573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import org.elasticsearch.gradle.LoggedExec
import org.elasticsearch.gradle.info.BuildParams
import org.elasticsearch.gradle.plugin.PluginBuildPlugin
import org.gradle.internal.jvm.Jvm

import java.nio.charset.StandardCharsets

Expand Down Expand Up @@ -31,7 +32,7 @@ subprojects {
dependsOn project.configurations.featureAwarePlugin
outputs.file(successMarker)

executable = "${BuildParams.compilerJavaHome}/bin/java"
executable = "${Jvm.current().javaHome}/bin/java"

// default to main class files if such a source set exists
final List files = []
Expand Down

0 comments on commit fdb8573

Please sign in to comment.