Skip to content

Commit

Permalink
Set the source and target compatibility for the opensearch-rest-clien…
Browse files Browse the repository at this point in the history
…t to Java 8. This project uses a client test library which is now also supporting Java 8.

Signed-off-by: David Venable <[email protected]>
  • Loading branch information
dlvenable committed May 4, 2022
1 parent 40024fc commit ad6bd4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis
apply plugin: 'opensearch.build'
apply plugin: 'opensearch.publish'

targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8

group = 'org.opensearch.client'
archivesBaseName = 'opensearch-rest-client'
Expand Down
4 changes: 2 additions & 2 deletions client/test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
*/
apply plugin: 'opensearch.build'

targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8

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

Expand Down

0 comments on commit ad6bd4a

Please sign in to comment.