Skip to content

Commit 50e4f3f

Browse files
fully targeting java 8 (#1006) (#1007)
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
1 parent c8f3b7a commit 50e4f3f

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)