Skip to content

Commit 6abe998

Browse files
committed
Drop support for the low-level REST client on JDK 7 (#38540)
This commit bumps the minimum compiler version on the low-level REST client to JDK 8.
1 parent 46bd049 commit 6abe998

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

client/rest/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ apply plugin: 'elasticsearch.build'
2222
apply plugin: 'nebula.maven-base-publish'
2323
apply plugin: 'nebula.maven-scm'
2424

25-
targetCompatibility = JavaVersion.VERSION_1_7
26-
sourceCompatibility = JavaVersion.VERSION_1_7
25+
targetCompatibility = JavaVersion.VERSION_1_8
26+
sourceCompatibility = JavaVersion.VERSION_1_8
2727

2828
group = 'org.elasticsearch.client'
2929
archivesBaseName = 'elasticsearch-rest-client'

client/sniffer/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ apply plugin: 'elasticsearch.build'
2020
apply plugin: 'nebula.maven-base-publish'
2121
apply plugin: 'nebula.maven-scm'
2222

23-
targetCompatibility = JavaVersion.VERSION_1_7
24-
sourceCompatibility = JavaVersion.VERSION_1_7
23+
targetCompatibility = JavaVersion.VERSION_1_8
24+
sourceCompatibility = JavaVersion.VERSION_1_8
2525

2626
group = 'org.elasticsearch.client'
2727
archivesBaseName = 'elasticsearch-rest-client-sniffer'

client/test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919
apply plugin: 'elasticsearch.build'
2020

21-
targetCompatibility = JavaVersion.VERSION_1_7
22-
sourceCompatibility = JavaVersion.VERSION_1_7
21+
targetCompatibility = JavaVersion.VERSION_1_8
22+
sourceCompatibility = JavaVersion.VERSION_1_8
2323

2424
group = "${group}.client.test"
2525

0 commit comments

Comments
 (0)