Skip to content

Commit eebf31b

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

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
@@ -50,6 +50,10 @@ forbiddenApis {
5050
suppressAnnotations = setOf("co.elastic.clients.util.AllowForbiddenApis")
5151
}
5252

53+
tasks.compileJava {
54+
options.release.set(8)
55+
}
56+
5357
tasks.forbiddenApisMain {
5458
bundledSignatures = setOf("jdk-system-out")
5559
}

0 commit comments

Comments
 (0)