Skip to content

Commit a5a5c41

Browse files
Abdul Mateen R Iharrytmthy
andauthored
refactor: Restrict androidx.security.crypto usage to androidTest only (#9)
Co-authored-by: harry.tumalewa <harrytmthy@gmail.com>
1 parent 1798c04 commit a5a5c41

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[versions]
22
androidGradlePlugin = "8.9.2"
33
androidxActivity = "1.10.1"
4+
androidxAnnotation = "1.9.1"
45
androidxComposeBom = "2025.04.01"
56
androidxComposeRuntimeTracing = "1.8.0"
67
androidxCore = "1.16.0"
@@ -24,6 +25,7 @@ timber = "5.0.1"
2425

2526
[libraries]
2627
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "androidxActivity" }
28+
androidx-annotation = { group = "androidx.annotation", name = "annotation", version.ref = "androidxAnnotation" }
2729
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "androidxComposeBom" }
2830
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3" }
2931
androidx-compose-material3-adaptive = { group = "androidx.compose.material3.adaptive", name = "adaptive" }

safebox/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ android {
5353
}
5454

5555
dependencies {
56-
implementation(libs.androidx.security.crypto)
56+
implementation(libs.androidx.annotation)
5757
implementation(libs.bouncy.castle.provider)
5858
implementation(libs.kotlinx.coroutines.android)
5959

6060
testImplementation(libs.kotlin.test)
6161
testImplementation(libs.kotlinx.coroutines.test)
6262

63+
androidTestImplementation(libs.androidx.security.crypto)
6364
androidTestImplementation(libs.androidx.test.ext)
6465
androidTestImplementation(libs.androidx.test.runner)
6566
androidTestImplementation(libs.kotlin.test)

0 commit comments

Comments
 (0)