From 6ecdfadb843e589fa2a6c1947dc0b2284d61103a Mon Sep 17 00:00:00 2001 From: FongMi Date: Sat, 1 Jun 2024 10:01:42 +0800 Subject: [PATCH] Fix build --- app/build.gradle | 1 + build.gradle | 8 ++++---- gradle.properties | 1 - gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8f33642d4..9f9333f70 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -50,6 +50,7 @@ android { } buildFeatures { + buildConfig true viewBinding true } diff --git a/build.gradle b/build.gradle index 958c07be9..fc58732a4 100644 --- a/build.gradle +++ b/build.gradle @@ -1,12 +1,12 @@ plugins { - id 'org.jetbrains.kotlin.android' version '1.9.23' apply false - id 'com.android.application' version '8.4.0' apply false - id 'com.android.library' version '8.4.0' apply false + id 'org.jetbrains.kotlin.android' version '1.9.0' apply false + id 'com.android.application' version '8.0.1' apply false + id 'com.android.library' version '8.0.1' apply false id 'com.chaquo.python' version '14.0.2' apply false } tasks.register('clean', Delete) { - delete rootProject.buildDir + delete rootProject.layout.buildDirectory } project.ext { diff --git a/gradle.properties b/gradle.properties index f30bf334d..49ee7fd76 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,6 +20,5 @@ android.enableJetifier=true # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library android.useFullClasspathForDexingTransform=true -android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=true android.nonFinalResIds=false \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 11fa2830a..f99022d23 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Wed Mar 29 12:54:35 CST 2023 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME