File tree 1 file changed +1
-8
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ class BuildPlugin implements Plugin<Project> {
126
126
// enforce Gradle version
127
127
final GradleVersion currentGradleVersion = GradleVersion . current();
128
128
129
- final GradleVersion minGradle = GradleVersion . version(' 3 .3' )
129
+ final GradleVersion minGradle = GradleVersion . version(' 4 .3' )
130
130
if (currentGradleVersion < minGradle) {
131
131
throw new GradleException (" ${ minGradle} or above is required to build elasticsearch" )
132
132
}
@@ -444,13 +444,6 @@ class BuildPlugin implements Plugin<Project> {
444
444
// hack until gradle supports java 9's new "--release" arg
445
445
assert minimumJava == JavaVersion . VERSION_1_8
446
446
options. compilerArgs << ' --release' << ' 8'
447
- if (GradleVersion . current(). getBaseVersion() < GradleVersion . version(" 4.1" )) {
448
- // this hack is not needed anymore since Gradle 4.1, see https://github.com/gradle/gradle/pull/2474
449
- doFirst {
450
- sourceCompatibility = null
451
- targetCompatibility = null
452
- }
453
- }
454
447
}
455
448
}
456
449
}
You can’t perform that action at this time.
0 commit comments