From 6a5b287570e2299c1a9e4e81ba68cc6b82aa49d4 Mon Sep 17 00:00:00 2001 From: zhujiang2 Date: Mon, 29 Mar 2021 15:58:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=9B=9E1.8=E8=AF=95=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 12 ++++-------- banner/build.gradle | 11 +++-------- gradle/wrapper/gradle-wrapper.properties | 4 ++-- 3 files changed, 9 insertions(+), 18 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 286bfb2..243c110 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,16 +24,12 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - } - java { - toolchain { - languageVersion = JavaLanguageVersion.of(11) - } + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } + kotlinOptions { - jvmTarget = '11' + jvmTarget = '1.8' useIR = true } buildFeatures { diff --git a/banner/build.gradle b/banner/build.gradle index 7fa3783..c5ed4d3 100644 --- a/banner/build.gradle +++ b/banner/build.gradle @@ -24,16 +24,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - } - java { - toolchain { - languageVersion = JavaLanguageVersion.of(11) - } + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { - jvmTarget = '11' + jvmTarget = '1.8' useIR = true } buildFeatures { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 892a8bd..65e67b7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Mar 29 15:50:30 CST 2021 +#Mon Mar 29 15:54:41 CST 2021 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-rc-1-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME