Misc Gradle cleanups (#1838)

* gradle: swallow android.sdk.channel warnings

* gradle: switch LeakCanary to AndroidX Startup variant

We already pull in the dependency through AppCompat -> Emoji2 -> Startup
so we might as well make use of it.
This commit is contained in:
Harsh Shandilya 2022-04-10 22:32:56 +05:30 committed by GitHub
parent 18cff9c144
commit cf1140374e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
# Disable warnings about unsupported features, we know what we're doing
android.suppressUnsupportedOptionWarnings=android.enableR8.fullMode,android.enableResourceOptimizations,android.nonTransitiveRClass,android.suppressUnsupportedOptionWarnings
android.suppressUnsupportedOptionWarnings=android.enableR8.fullMode,android.enableResourceOptimizations,android.nonTransitiveRClass,android.suppressUnsupportedOptionWarnings,android.sdk.channel
# Maven publishing
GROUP=com.github.android-password-store

View file

@ -81,8 +81,8 @@ thirdparty-fastscroll = "me.zhanghai.android.fastscroll:library:1.1.7"
thirdparty-flowbinding-android = { module = "io.github.reactivecircus.flowbinding:flowbinding-android", version.ref = "flowbinding" }
thirdparty-jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r"
thirdparty-kotlinResult = "com.michael-bull.kotlin-result:kotlin-result:1.1.14"
thirdparty-leakcanary = { module = "com.squareup.leakcanary:leakcanary-android", version.ref="leakcanary" }
thirdparty-plumber = { module = "com.squareup.leakcanary:plumber-android", version.ref="leakcanary" }
thirdparty-leakcanary = { module = "com.squareup.leakcanary:leakcanary-android-startup", version.ref="leakcanary" }
thirdparty-plumber = { module = "com.squareup.leakcanary:plumber-android-startup", version.ref="leakcanary" }
thirdparty-logcat = "com.squareup.logcat:logcat:0.1"
thirdparty-modernAndroidPrefs = "de.maxr1998:modernandroidpreferences:2.3.0"
thirdparty-nonfree-googlePlayAuthApiPhone = "com.google.android.gms:play-services-auth-api-phone:18.0.1"