diff --git a/agents/agent-koog/app/build.gradle.kts b/agents/agent-koog/app/build.gradle.kts index 973b197a..3f950953 100644 --- a/agents/agent-koog/app/build.gradle.kts +++ b/agents/agent-koog/app/build.gradle.kts @@ -5,7 +5,7 @@ plugins { alias(libs.plugins.composeMultiplatform) // Add Kotlin serialization plugin for Koog API support - kotlin("plugin.serialization") version "2.3.0" + kotlin("plugin.serialization") version libs.versions.kotlin.get() } android { @@ -47,10 +47,6 @@ android { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } - - buildFeatures { - buildConfig = true - } } dependencies { diff --git a/agents/agent-koog/app/src/main/kotlin/com/example/koog_example/App.kt b/agents/agent-koog/app/src/main/kotlin/com/example/koog_example/App.kt index d4cf7f9c..fe3868cd 100644 --- a/agents/agent-koog/app/src/main/kotlin/com/example/koog_example/App.kt +++ b/agents/agent-koog/app/src/main/kotlin/com/example/koog_example/App.kt @@ -285,5 +285,5 @@ class ChatActivity : ComponentActivity() { @Preview @Composable fun AppAndroidPreview() { - ChatActivity() + ChatScreen() } diff --git a/agents/agent-koog/gradle/libs.versions.toml b/agents/agent-koog/gradle/libs.versions.toml index 89cb67a9..81ea469b 100644 --- a/agents/agent-koog/gradle/libs.versions.toml +++ b/agents/agent-koog/gradle/libs.versions.toml @@ -1,6 +1,5 @@ [versions] agp = "8.13.2" -androidGradlePlugin = "8.13.2" android-compileSdk = "36" android-minSdk = "24" android-targetSdk = "36" @@ -24,7 +23,7 @@ buildkonfig = "0.17.1" kotlinStdlib = "2.3.0" runner = "1.7.0" core = "1.7.0" -kermit = "2.0.4" +kermit = "2.0.8" [libraries] androidx-material-icons-core = { module = "androidx.compose.material:material-icons-core", version.ref = "materialIconsCore" } @@ -56,6 +55,6 @@ androidLibrary = { id = "com.android.library", version.ref = "agp" } composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "composeMultiplatform" } composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } -androidKotlinMultiplatformLibrary = { id = "com.android.kotlin.multiplatform.library", version.ref = "androidGradlePlugin" } +androidKotlinMultiplatformLibrary = { id = "com.android.kotlin.multiplatform.library", version.ref = "agp" } buildkonfig = { id = "com.codingfeline.buildkonfig", version.ref = "buildkonfig" } androidLint = { id = "com.android.lint", version.ref = "agp" }