diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-06-11 09:38:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 11:38:10 +0200 |
commit | f3c9733d6901209513b77a6002a23785a1e9aa4e (patch) | |
tree | 91f9efb84b2b7e551fc686f811fdcf2fc150490c | |
parent | 5d6529a4d8dc6dc938cd05903bfde76412ce17cd (diff) |
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>
-rw-r--r-- | app/build.gradle | 1 | ||||
-rw-r--r-- | app/proguard-rules.pro | 4 | ||||
-rw-r--r-- | dependencies.gradle | 30 |
3 files changed, 20 insertions, 15 deletions
diff --git a/app/build.gradle b/app/build.gradle index dbac1a5c..6175dfcd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -101,6 +101,7 @@ dependencies { implementation deps.third_party.jsch implementation deps.third_party.sshj implementation deps.third_party.bouncycastle + implementation deps.third_party.plumber implementation deps.third_party.openpgp_ktx implementation deps.third_party.ssh_auth implementation deps.third_party.timber diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 474b45d0..232f70e7 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -27,3 +27,7 @@ -keep class org.bouncycastle.jcajce.provider.** { *; } -keep class org.bouncycastle.jce.provider.** { *; } -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.** { *; } diff --git a/dependencies.gradle b/dependencies.gradle index e54ccd55..039be9ba 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -25,23 +25,22 @@ ext.deps = [ androidx: [ 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', biometric: 'androidx.biometric:biometric:1.0.1', 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', - fragment_ktx: 'androidx.fragment:fragment-ktx:1.3.0-alpha05', - lifecycle_common: 'androidx.lifecycle:lifecycle-common-java8:2.3.0-alpha03', - lifecycle_livedata_ktx: 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-alpha03', - lifecycle_viewmodel_ktx: 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0-alpha03', + fragment_ktx: 'androidx.fragment:fragment-ktx:1.3.0-alpha06', + lifecycle_common: 'androidx.lifecycle:lifecycle-common-java8:2.3.0-alpha04', + lifecycle_livedata_ktx: 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-alpha04', + lifecycle_viewmodel_ktx: 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0-alpha04', 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', recycler_view: 'androidx.recyclerview:recyclerview:1.2.0-alpha03', 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.0.0-beta01', + security: 'androidx.security:security-crypto:1.1.0-alpha01', swiperefreshlayout: 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-rc01' ], @@ -50,7 +49,8 @@ ext.deps = [ fastscroll: 'me.zhanghai.android.fastscroll:library:1.1.4', jsch: 'com.jcraft:jsch:0.1.55', 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', sshj: 'com.hierynomus:sshj:0.29.0', ssh_auth: 'org.sufficientlysecure:sshauthentication-api:1.0', @@ -63,11 +63,11 @@ ext.deps = [ junit: 'junit:junit:4.13', kotlin_test_junit: 'org.jetbrains.kotlin:kotlin-test-junit:1.3.72', androidx: [ - runner: 'androidx.test:runner:1.3.0-beta02', - rules: 'androidx.test:rules:1.3.0-beta02', - junit: 'androidx.test.ext:junit:1.1.2-beta02', - espresso_core: 'androidx.test.espresso:espresso-core:3.3.0-beta02', - espresso_intents: 'androidx.test.espresso:espresso-intents:3.3.0-beta02' + runner: 'androidx.test:runner:1.3.0-rc01', + rules: 'androidx.test:rules:1.3.0-rc01', + junit: 'androidx.test.ext:junit:1.1.2-rc01', + espresso_core: 'androidx.test.espresso:espresso-core:3.3.0-rc01', + espresso_intents: 'androidx.test.espresso:espresso-intents:3.3.0-rc01' ] ] ] |