fix(deps): update dependency org.bouncycastle:bcprov-jdk18on to v1.78 (#2986)

* fix(deps): update dependency org.bouncycastle:bcprov-jdk18on to v1.78

* fix(deps): add missing bcutil dependency

* fix(build): drop multi-release JAR artifacts from APK

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
renovate[bot] 2024-04-06 10:00:30 +00:00 committed by GitHub
parent 2046abfcb3
commit 0fe01f1650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -34,6 +34,8 @@ android {
useLiveLiterals = false useLiveLiterals = false
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get() kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
} }
packaging { resources.excludes.add("META-INF/versions/**") }
} }
dependencies { dependencies {
@ -87,6 +89,7 @@ dependencies {
implementation(libs.thirdparty.leakcanary.plumber) implementation(libs.thirdparty.leakcanary.plumber)
implementation(libs.thirdparty.sshj) implementation(libs.thirdparty.sshj)
implementation(libs.thirdparty.bouncycastle.bcprov) implementation(libs.thirdparty.bouncycastle.bcprov)
implementation(libs.thirdparty.bouncycastle.bcutil)
implementation(libs.thirdparty.slf4j.api) { implementation(libs.thirdparty.slf4j.api) {
because("SSHJ now uses SLF4J 2.0 which we don't want") because("SSHJ now uses SLF4J 2.0 which we don't want")

View file

@ -1,7 +1,7 @@
[versions] [versions]
agp = "8.3.1" agp = "8.3.1"
androidxActivity = "1.9.0-rc01" androidxActivity = "1.9.0-rc01"
bouncycastle = "1.77" bouncycastle = "1.78"
# @keep used for kotlinCompilerExtensionVersion # @keep used for kotlinCompilerExtensionVersion
composeCompiler = "1.5.11-dev-k1.9.23-96ef9dc6af1" composeCompiler = "1.5.11-dev-k1.9.23-96ef9dc6af1"
coroutines = "1.8.1-Beta" coroutines = "1.8.1-Beta"
@ -72,6 +72,7 @@ testing-sharedPrefsMock = "com.github.android-password-store:shared-preferences-
testing-testparameterinjector = "com.google.testparameterinjector:test-parameter-injector:1.15" testing-testparameterinjector = "com.google.testparameterinjector:test-parameter-injector:1.15"
testing-turbine = "app.cash.turbine:turbine:1.1.0" testing-turbine = "app.cash.turbine:turbine:1.1.0"
thirdparty-bouncycastle-bcprov = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncycastle" } thirdparty-bouncycastle-bcprov = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncycastle" }
thirdparty-bouncycastle-bcutil = { module = "org.bouncycastle:bcutil-jdk18on", version.ref = "bouncycastle" }
# We're fine with the current version. # We're fine with the current version.
# noinspection GradleDependency # noinspection GradleDependency
thirdparty-commons_codec = "commons-codec:commons-codec:1.14" thirdparty-commons_codec = "commons-codec:commons-codec:1.14"