Skip to content

Commit 3493296

Browse files
authored
fully targeting java 8 (#1006)
1 parent 87ba5ba commit 3493296

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java-client/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ forbiddenApis {
5656
suppressAnnotations = setOf("co.elastic.clients.util.AllowForbiddenApis")
5757
}
5858

59+
tasks.compileJava {
60+
options.release.set(8)
61+
}
62+
5963
tasks.forbiddenApisMain {
6064
bundledSignatures = setOf("jdk-system-out")
6165
}

0 commit comments

Comments
 (0)