diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 9d8e294..15680a6 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -23,7 +23,10 @@ object Dependencies { const val hyperionAppInfo = "com.star-zero:hyperion-appinfo:2.0.0" const val chucker = "com.github.ChuckerTeam.Chucker:library:3.5.2" const val deviceNames = "com.jaredrummler:android-device-names:2.1.0" - const val debugDb = "com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:1.0.6" + + // debug-db uses legacy appcompat dependencies, using @aar will not force consumers to run jetifier on their side + const val debugDb = "com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:1.0.6@aar" + const val multidex = "androidx.multidex:multidex:2.0.1" const val androidGradlePlugin = "com.android.tools.build:gradle:7.3.1" const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20" diff --git a/foqa/build.gradle.kts b/foqa/build.gradle.kts index 3bce3d1..99b93b4 100644 --- a/foqa/build.gradle.kts +++ b/foqa/build.gradle.kts @@ -22,7 +22,11 @@ dependencies { api(Dependencies.chucker) api(platform(Dependencies.okHttpBom)) api(Dependencies.okHttp) - implementation(Dependencies.debugDb) + implementation(Dependencies.debugDb) { + // debugDb uses legacy appcompat dependencies, making it transitive will not force consumers + // to run jetifier on their side + isTransitive = true + } implementation(project(":device_info_plugin")) implementation(project(":font_scale_plugin"))