diff --git a/gradle/generation/jflex.gradle b/gradle/generation/jflex.gradle index 57c80697ae3..f6e83510b43 100644 --- a/gradle/generation/jflex.gradle +++ b/gradle/generation/jflex.gradle @@ -149,7 +149,7 @@ configure(project(":lucene:analysis:common")) { def target = file('src/java/org/apache/lucene/analysis/charfilter/HTMLCharacterEntities.jflex') target.withOutputStream { output -> project.exec { - executable = project.externalTool("python2") + executable = project.externalTool("python3") workingDir = target.parentFile standardOutput = output args += [