From 4cf6261db341a10c35fce9fafdda4b17717c4b34 Mon Sep 17 00:00:00 2001 From: rookie Date: Mon, 14 Oct 2024 11:23:59 +0800 Subject: [PATCH] version downgrade --- ai/build.gradle | 6 +++--- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- matisse/build.gradle | 6 +++--- sample/build.gradle | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ai/build.gradle b/ai/build.gradle index 7f3f27a9..45a9bf42 100644 --- a/ai/build.gradle +++ b/ai/build.gradle @@ -21,11 +21,11 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { - jvmTarget = '11' + jvmTarget = '1.8' } } diff --git a/build.gradle b/build.gradle index fc0bd006..40137873 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:8.7.0' + classpath 'com.android.tools.build:gradle:8.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e70d333f..b9f60e12 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip diff --git a/matisse/build.gradle b/matisse/build.gradle index 176d8d27..d9e388ea 100644 --- a/matisse/build.gradle +++ b/matisse/build.gradle @@ -25,11 +25,11 @@ android { targetSdkVersion 34 } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { - jvmTarget = "11" + jvmTarget = "1.8" } lint { abortOnError false diff --git a/sample/build.gradle b/sample/build.gradle index 8381c64e..7cc68921 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -23,8 +23,8 @@ android { signingConfig signingConfigs.debug } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "11"