From 04813271450d9e6440598476317182044115048e Mon Sep 17 00:00:00 2001 From: "Kenneth J. Shackleton" Date: Mon, 5 Feb 2024 21:04:49 +0000 Subject: [PATCH 1/3] Update AndroidCLI project dependencies. Signed-off-by: Kenneth J. Shackleton --- AndroidCLI/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AndroidCLI/build.gradle.kts b/AndroidCLI/build.gradle.kts index e02a7b30d0..a12a0e589b 100644 --- a/AndroidCLI/build.gradle.kts +++ b/AndroidCLI/build.gradle.kts @@ -33,7 +33,7 @@ android { defaultConfig { applicationId = "com.bloomberg.selekt.cli" minSdk = 21 - targetSdk = 33 + targetSdk = 34 versionCode = 1 versionName = "0.1" ndk { @@ -63,4 +63,5 @@ dependencies { implementation(androidX("core", "ktx", version = "1.0.2")) implementation(androidX("paging", "runtime", "2.1.0")) implementation(androidX("constraintlayout", version = "1.1.3")) + runtimeOnly(projects.selektAndroidSqlcipher) } From 62a02ee91226aeadbbbbf21dc505e240caf2422e Mon Sep 17 00:00:00 2001 From: "Kenneth J. Shackleton" Date: Mon, 5 Feb 2024 21:05:25 +0000 Subject: [PATCH 2/3] selekt-android-sqlcipher can be runtimeOnly in getting_started. Signed-off-by: Kenneth J. Shackleton --- docs/getting_started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting_started.md b/docs/getting_started.md index 5d91473aa0..cfedccdfd4 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -11,7 +11,7 @@ dependencies { implementation(platform("com.bloomberg:selekt-bom:")) implementation("com.bloomberg:selekt-android") - implementation("com.bloomberg:selekt-android-sqlcipher") + runtimeOnly("com.bloomberg:selekt-android-sqlcipher") } ``` @@ -24,7 +24,7 @@ dependencies { implementation platform('com.bloomberg:selekt-bom:')) implementation 'com.bloomberg:selekt-android' - implementation 'com.bloomberg:selekt-android-sqlcipher' + runtimeOnly 'com.bloomberg:selekt-android-sqlcipher' } ``` From 35a10953591b330bf37d1e8a105230817cd5de76 Mon Sep 17 00:00:00 2001 From: "Kenneth J. Shackleton" Date: Mon, 5 Feb 2024 21:21:23 +0000 Subject: [PATCH 3/3] Use release shortcut extension in Gradle for AndroidCLI. Signed-off-by: Kenneth J. Shackleton --- AndroidCLI/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AndroidCLI/build.gradle.kts b/AndroidCLI/build.gradle.kts index a12a0e589b..c3fa58ed93 100644 --- a/AndroidCLI/build.gradle.kts +++ b/AndroidCLI/build.gradle.kts @@ -45,7 +45,7 @@ android { } buildTypes { - getByName("release") { + release { isMinifyEnabled = false } }