Skip to content

Commit

Permalink
Don't force consumers to use jetifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vudzkostek committed Jan 13, 2023
1 parent e27e7bd commit 412d36e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 5 additions & 1 deletion foqa/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 412d36e

Please sign in to comment.