Dependency updates (#844)

* build: uprev dependencies, add leakcanary plumber to patch leaks at runtime

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: upgrade security-crypto

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: fix copypasta fail

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-06-11 09:38:10 +00:00 committed by GitHub
parent 5d6529a4d8
commit f3c9733d69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 15 deletions

View file

@ -101,6 +101,7 @@ dependencies {
implementation deps.third_party.jsch implementation deps.third_party.jsch
implementation deps.third_party.sshj implementation deps.third_party.sshj
implementation deps.third_party.bouncycastle implementation deps.third_party.bouncycastle
implementation deps.third_party.plumber
implementation deps.third_party.openpgp_ktx implementation deps.third_party.openpgp_ktx
implementation deps.third_party.ssh_auth implementation deps.third_party.ssh_auth
implementation deps.third_party.timber implementation deps.third_party.timber

View file

@ -27,3 +27,7 @@
-keep class org.bouncycastle.jcajce.provider.** { *; } -keep class org.bouncycastle.jcajce.provider.** { *; }
-keep class org.bouncycastle.jce.provider.** { *; } -keep class org.bouncycastle.jce.provider.** { *; }
-keep class !org.bouncycastle.jce.provider.X509LDAPCertStoreSpi { *; } -keep class !org.bouncycastle.jce.provider.X509LDAPCertStoreSpi { *; }
# Tink (for security-crypto)
# I'm most certainly not a fan of this catch-all rule
-keep class com.google.crypto.tink.proto.** { *; }

View file

@ -25,23 +25,22 @@ ext.deps = [
androidx: [ androidx: [
annotation: 'androidx.annotation:annotation:1.2.0-alpha01', annotation: 'androidx.annotation:annotation:1.2.0-alpha01',
activity_ktx: 'androidx.activity:activity-ktx:1.2.0-alpha05', activity_ktx: 'androidx.activity:activity-ktx:1.2.0-alpha06',
appcompat: 'androidx.appcompat:appcompat:1.3.0-alpha01', appcompat: 'androidx.appcompat:appcompat:1.3.0-alpha01',
biometric: 'androidx.biometric:biometric:1.0.1', biometric: 'androidx.biometric:biometric:1.0.1',
constraint_layout: 'androidx.constraintlayout:constraintlayout:2.0.0-beta6', constraint_layout: 'androidx.constraintlayout:constraintlayout:2.0.0-beta6',
core_ktx: 'androidx.core:core-ktx:1.4.0-alpha01', core_ktx: 'androidx.core:core-ktx:1.5.0-alpha01',
documentfile: 'androidx.documentfile:documentfile:1.0.1', documentfile: 'androidx.documentfile:documentfile:1.0.1',
fragment_ktx: 'androidx.fragment:fragment-ktx:1.3.0-alpha05', fragment_ktx: 'androidx.fragment:fragment-ktx:1.3.0-alpha06',
lifecycle_common: 'androidx.lifecycle:lifecycle-common-java8:2.3.0-alpha03', lifecycle_common: 'androidx.lifecycle:lifecycle-common-java8:2.3.0-alpha04',
lifecycle_livedata_ktx: 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-alpha03', lifecycle_livedata_ktx: 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-alpha04',
lifecycle_viewmodel_ktx: 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0-alpha03', lifecycle_viewmodel_ktx: 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0-alpha04',
local_broadcast_manager: 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0-alpha01', local_broadcast_manager: 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0-alpha01',
material: 'com.google.android.material:material:1.2.0-alpha06', material: 'com.google.android.material:material:1.3.0-alpha01',
preference: 'androidx.preference:preference:1.1.1', preference: 'androidx.preference:preference:1.1.1',
recycler_view: 'androidx.recyclerview:recyclerview:1.2.0-alpha03', recycler_view: 'androidx.recyclerview:recyclerview:1.2.0-alpha03',
recycler_view_selection: 'androidx.recyclerview:recyclerview-selection:1.1.0-rc01', recycler_view_selection: 'androidx.recyclerview:recyclerview-selection:1.1.0-rc01',
// Frozen at 1.0.0-beta01 for the foreseeable future due to Tink and R8 interacting badly security: 'androidx.security:security-crypto:1.1.0-alpha01',
security: 'androidx.security:security-crypto:1.0.0-beta01',
swiperefreshlayout: 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-rc01' swiperefreshlayout: 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-rc01'
], ],
@ -50,7 +49,8 @@ ext.deps = [
fastscroll: 'me.zhanghai.android.fastscroll:library:1.1.4', fastscroll: 'me.zhanghai.android.fastscroll:library:1.1.4',
jsch: 'com.jcraft:jsch:0.1.55', jsch: 'com.jcraft:jsch:0.1.55',
jgit: 'org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r', jgit: 'org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r',
leakcanary: 'com.squareup.leakcanary:leakcanary-android:2.3', leakcanary: 'com.squareup.leakcanary:leakcanary-android:2.4',
plumber: 'com.squareup.leakcanary:plumber-android:2.4',
openpgp_ktx: 'com.github.android-password-store:openpgp-ktx:2.0.0', openpgp_ktx: 'com.github.android-password-store:openpgp-ktx:2.0.0',
sshj: 'com.hierynomus:sshj:0.29.0', sshj: 'com.hierynomus:sshj:0.29.0',
ssh_auth: 'org.sufficientlysecure:sshauthentication-api:1.0', ssh_auth: 'org.sufficientlysecure:sshauthentication-api:1.0',
@ -63,11 +63,11 @@ ext.deps = [
junit: 'junit:junit:4.13', junit: 'junit:junit:4.13',
kotlin_test_junit: 'org.jetbrains.kotlin:kotlin-test-junit:1.3.72', kotlin_test_junit: 'org.jetbrains.kotlin:kotlin-test-junit:1.3.72',
androidx: [ androidx: [
runner: 'androidx.test:runner:1.3.0-beta02', runner: 'androidx.test:runner:1.3.0-rc01',
rules: 'androidx.test:rules:1.3.0-beta02', rules: 'androidx.test:rules:1.3.0-rc01',
junit: 'androidx.test.ext:junit:1.1.2-beta02', junit: 'androidx.test.ext:junit:1.1.2-rc01',
espresso_core: 'androidx.test.espresso:espresso-core:3.3.0-beta02', espresso_core: 'androidx.test.espresso:espresso-core:3.3.0-rc01',
espresso_intents: 'androidx.test.espresso:espresso-intents:3.3.0-beta02' espresso_intents: 'androidx.test.espresso:espresso-intents:3.3.0-rc01'
] ]
] ]
] ]