From 0baa46355c3e46dde39b9baacfb474e2e47882e3 Mon Sep 17 00:00:00 2001 From: Katana Date: Thu, 15 Feb 2024 22:27:39 +0800 Subject: [PATCH] App: Support Android 15 DP1 --- app/build.gradle | 3 +++ build.gradle | 2 +- gradle.properties | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index fec4672..7bf0c26 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -55,6 +55,9 @@ android { jvmTarget = '1.8' } namespace 'com.android.launcher' + buildFeatures { + buildConfig true + } } dependencies { diff --git a/build.gradle b/build.gradle index 171ef39..7dfeb7d 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:8.2.2' - classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0-Beta3' + classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0-Beta4' // classpath 'com.android.tools.build:gradle-experimental:3.3.2' // classpath 'com.trend.lazyinject:aopweave:3.4.0-beta' // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle.properties b/gradle.properties index 0a42b11..62671bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,6 +20,5 @@ android.enableJetifier=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official android.injected.testOnly=false -android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false android.nonFinalResIds=false \ No newline at end of file