Merge pull request #12808 from TacoTheDank/fixGradleDeprecation

Android: Fix Gradle deprecation
This commit is contained in:
Admiral H. Curtiss 2024-05-31 17:40:26 +02:00 committed by GitHub
commit 729669f7b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -12,6 +12,7 @@ android {
buildFeatures {
viewBinding = true
buildConfig = true
}
compileOptions {
@ -116,12 +117,11 @@ android {
}
dependencies {
"baselineProfile"(project(":benchmark"))
baselineProfile(project(":benchmark"))
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
implementation("androidx.core:core-ktx:1.13.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.exifinterface:exifinterface:1.3.7")
implementation("androidx.cardview:cardview:1.0.0")
implementation("androidx.recyclerview:recyclerview:1.3.2")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
@ -135,7 +135,6 @@ dependencies {
// Kotlin extensions for lifecycle components
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.7.0")
// Android TV UI libraries.
implementation("androidx.leanback:leanback:1.0.0")

View File

@ -14,6 +14,5 @@ android.enableJetifier=true
android.useAndroidX=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false