0
0
mirror of https://github.com/schwabe/ics-openvpn.git synced 2024-09-19 19:42:29 +02:00

Add bouncycastle dependency to version catalog

This commit is contained in:
conorsmith 2023-09-03 18:14:54 +02:00 committed by Arne Schwabe
parent 70683fb566
commit 87aac67b61
2 changed files with 11 additions and 10 deletions

View File

@ -13,6 +13,7 @@ androidx-security-crypto = "1.1.0-alpha06"
androidx-constraintlayout = "2.1.4" androidx-constraintlayout = "2.1.4"
androidx-cardview = "1.0.0" androidx-cardview = "1.0.0"
androidx-recyclerview = "1.3.0" androidx-recyclerview = "1.3.0"
bouncycastle = "1.49"
mpandroidchart = "v3.1.0" mpandroidchart = "v3.1.0"
kotlin = "1.9.0" kotlin = "1.9.0"
square-okhttp = "4.10.0" square-okhttp = "4.10.0"
@ -38,6 +39,11 @@ androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecyc
androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "androidx-recyclerview" } androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "androidx-recyclerview" }
androidx-security-crypto = { group = "androidx.security", name = "security-crypto", version.ref = "androidx-security-crypto" } androidx-security-crypto = { group = "androidx.security", name = "security-crypto", version.ref = "androidx-security-crypto" }
mpandroidchart = { group = "com.github.PhilJay", name = "MPAndroidChart", version.ref = "mpandroidchart" } mpandroidchart = { group = "com.github.PhilJay", name = "MPAndroidChart", version.ref = "mpandroidchart" }
org-bouncycastle-bcprov-jdk15on = { group = "org.bouncycastle", name = "bcprov-jdk15on", version.ref = "bouncycastle" }
org-bouncycastle-bcprov-ext-jdk15on = { group = "org.bouncycastle", name = "bcprov-ext-jdk15on", version.ref = "bouncycastle" }
org-bouncycastle-bcpkix-jdk15on = { group = "org.bouncycastle", name = "bcpkix-jdk15on", version.ref = "bouncycastle" }
org-bouncycastle-bcmail-jdk15on = { group = "org.bouncycastle", name = "bcmail-jdk15on", version.ref = "bouncycastle" }
org-bouncycastle-bcpg-jdk15on = { group = "org.bouncycastle", name = "bcpg-jdk15on", version.ref = "bouncycastle" }
kotlin = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlin" } kotlin = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlin" }
square-okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "square-okhttp" } square-okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "square-okhttp" }

View File

@ -7,14 +7,9 @@ plugins {
alias libs.plugins.android.application alias libs.plugins.android.application
} }
ext {
bouncycastleVersion = '1.49'
}
android { android {
compileSdkVersion 34 compileSdkVersion 34
defaultConfig { defaultConfig {
applicationId "de.blinkt.externalcertprovider" applicationId "de.blinkt.externalcertprovider"
minSdkVersion 21 minSdkVersion 21
@ -51,11 +46,11 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation ( implementation (
//'org.bouncycastle:bcprov-jdk15on:' + bouncycastleVersion, // libs.org.bouncycastle.bcprov.jdk15on,
//'org.bouncycastle:bcprov-ext-jdk15on:' + bouncycastleVersion, // libs.org.bouncycastle.bcprov.ext.jdk15on,
//'org.bouncycastle:bcpkix-jdk15on:' + bouncycastleVersion, // libs.org.bouncycastle.bcpkix.jdk15on,
'org.bouncycastle:bcmail-jdk15on:' + bouncycastleVersion, libs.org.bouncycastle.bcmail.jdk15on,
//'org.bouncycastle:bcpg-jdk15on:' + bouncycastleVersion // libs.org.bouncycastle.bcpg.jdk15on,
) )
testImplementation(libs.junit) testImplementation(libs.junit)