From 45b2cbf7a75890884b08f1769c22474eb990b1d3 Mon Sep 17 00:00:00 2001 From: tanya732 <“sinha.tanya26@gmail.com”> Date: Wed, 30 Oct 2024 17:22:22 +0530 Subject: [PATCH] updated toolchain to java 11 --- lib/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/build.gradle b/lib/build.gradle index bcd26ee9..972d9cb4 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -64,14 +64,14 @@ signing { java { toolchain { - languageVersion = JavaLanguageVersion.of(8) + languageVersion = JavaLanguageVersion.of(11) } } compileJava { exclude 'module-info.java' // Required to be compatible with JDK 8+ - options.release = 8 + options.release = 11 } javadoc { @@ -130,7 +130,7 @@ task compileModuleInfoJava(type: JavaCompile) { } compileTestJava { - options.release = 8 + options.release = 11 options.compilerArgs = ["-Xlint:deprecation"] }