From b9d17e58a7a2c8184464d1e80b64a5de239c83fb Mon Sep 17 00:00:00 2001 From: jacobrein Date: Tue, 10 Sep 2024 09:43:08 -0600 Subject: [PATCH] - Update dependencies Update KSP to 2.0.20-1.0.25 and Ktor to 3.0.0 -rc-1. Enable Gemini Recommendations setting in debug builds. --- .../com/programmersbox/uiviews/settings/SettingsFragment.kt | 2 +- gradle/libs.versions.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UIViews/src/main/java/com/programmersbox/uiviews/settings/SettingsFragment.kt b/UIViews/src/main/java/com/programmersbox/uiviews/settings/SettingsFragment.kt index ee6f7a55c..48deaf9fa 100644 --- a/UIViews/src/main/java/com/programmersbox/uiviews/settings/SettingsFragment.kt +++ b/UIViews/src/main/java/com/programmersbox/uiviews/settings/SettingsFragment.kt @@ -427,7 +427,7 @@ private fun SettingsScreen( //TODO: This will be for the future when this works again // right now it runs into java.lang.NoClassDefFoundError: Failed resolution of: Lio/ktor/client/plugins/HttpTimeout; // once it doesn't, this will be fully implemented - if (false) { + if (BuildConfig.DEBUG) { PreferenceSetting( settingTitle = { Text("Gemini Recommendations") }, settingIcon = { Icon(Icons.Default.AutoAwesome, null, modifier = Modifier.fillMaxSize()) }, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 67da4a49c..f3c1ec206 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ generativeai = "0.9.0" gradle = "8.6.0" kotlin = "2.0.20" -kspVersion = "2.0.20-1.0.24" +kspVersion = "2.0.20-1.0.25" androidxBaselineprofileGradlePlugin = "1.3.0" composeCollapsable = "0.3.0" @@ -29,7 +29,7 @@ jetpackCompiler = "1.5.11" jetbrainsCompiler = "1.5.1" accompanist = "0.36.0" okhttpVersion = "4.12.0" -ktorVersion = "3.0.0-beta-2" +ktorVersion = "3.0.0-rc-1" workVersion = "2.10.0-alpha03" ziplineVersion = "1.1.0" landscapist = "2.3.6"