From 102b032c005e920ef5cba9ec4dbc381843379031 Mon Sep 17 00:00:00 2001 From: Nex Zhu <4370605+NexZhu@users.noreply.github.com> Date: Mon, 14 Nov 2022 18:14:06 +0800 Subject: [PATCH] setup: add Java targetCompatibility fixed to 1.8 --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 47aee1a..7fd9462 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,10 @@ plugins { group 'org.bdware' version 'dev-221113' -sourceCompatibility = JavaVersion.VERSION_1_8 +compileJava { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} def grpc_java_version = '1.41.0' def junit_version = '5.7.0'