File tree 1 file changed +4
-3
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -131,9 +131,10 @@ class BuildPlugin implements Plugin<Project> {
131
131
throw new GradleException (" ${ minGradle} or above is required to build elasticsearch" )
132
132
}
133
133
134
- final GradleVersion maxGradle = GradleVersion . version(' 4.2' )
135
- if (currentGradleVersion >= maxGradle) {
136
- throw new GradleException (" ${ maxGradle} or above is not compatible with the elasticsearch build" )
134
+ final GradleVersion gradle42 = GradleVersion . version(' 4.2' )
135
+ final GradleVersion gradle43 = GradleVersion . version(' 4.3' )
136
+ if (currentGradleVersion >= gradle42 && currentGradleVersion < gradle43) {
137
+ throw new GradleException (" ${ currentGradleVersion} is not compatible with the elasticsearch build" )
137
138
}
138
139
139
140
// enforce Java version
You can’t perform that action at this time.
0 commit comments