From 1bc01d64a49f82c77b1583e7f8157154b06e5254 Mon Sep 17 00:00:00 2001 From: ZhangJian He Date: Mon, 10 Jul 2023 08:51:43 +0800 Subject: [PATCH] Remove deprecated gradle usage --- build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 9e805982..e2ebc68f 100644 --- a/build.gradle +++ b/build.gradle @@ -64,8 +64,10 @@ subprojects { apply plugin: 'signing' apply plugin: 'biz.aQute.bnd.builder' - sourceCompatibility = 1.8 - targetCompatibility = 1.8 + java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } repositories { mavenCentral()