Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ jobs:

ios-tests:
name: iOS Tests
runs-on: macos-latest
# Use macos-26 for Xcode 26 (default 26.2) which ships the iOS 26 SDK.
# Compose Multiplatform 1.11+ references iOS 26 APIs (UIViewLayoutRegion)
# that are not present in the iOS 18 SDK bundled with Xcode 16.x.
runs-on: macos-26
steps:
- uses: actions/checkout@v6

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.linroid.ketch.ai

import ai.koog.agents.core.agent.AIAgent
import ai.koog.agents.core.tools.ToolRegistry
import ai.koog.agents.core.tools.reflect.tools
import ai.koog.prompt.executor.clients.openai.OpenAIModels
import ai.koog.prompt.executor.llms.all.simpleOpenAIExecutor
import com.linroid.ketch.ai.agent.AgentOutputParser
Expand Down
19 changes: 18 additions & 1 deletion app/shared/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget

plugins {
alias(libs.plugins.kotlinMultiplatform)
Expand All @@ -10,7 +11,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.app.shared"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand All @@ -30,6 +31,22 @@ kotlin {
}
}

// Compose Multiplatform 1.11+ references iOS 18 APIs (e.g. UIViewLayoutRegion in
// compose-ui-uikit) and dnssd 1.1.0 is built for iOS 15+. Kotlin/Native defaults to
// iOS 14.0, which causes link failures and missing back-deployment dylib lookups at
// runtime. Override the minimum iOS version to 18.0.
targets.withType<KotlinNativeTarget>().configureEach {
compilations.configureEach {
compileTaskProvider.configure {
compilerOptions.freeCompilerArgs.add(
"-Xoverride-konan-properties=" +
"osVersionMin.ios_arm64=18.0;" +
"osVersionMin.ios_simulator_arm64=18.0",
)
}
}
}

jvm()

@OptIn(ExperimentalWasmDsl::class)
Expand Down
2 changes: 1 addition & 1 deletion config/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.config"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
36 changes: 18 additions & 18 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
[versions]
agp = "9.0.1"
android-compileSdk = "36"
agp = "9.2.1"
android-compileSdk = "37"
android-minSdk = "26"
android-targetSdk = "36"
androidx-activity = "1.12.4"
androidx-activity = "1.13.0"
androidx-appcompat = "1.7.1"
androidx-core = "1.17.0"
androidx-core = "1.18.0"
androidx-startup = "1.2.0"
androidx-espresso = "3.7.0"
androidx-lifecycle = "2.9.6"
androidx-lifecycle = "2.10.0"
androidx-testExt = "1.3.0"
composeHotReload = "1.0.0"
composeMultiplatform = "1.10.1"
dnssd = "1.0.5"
composeHotReload = "1.1.1"
composeMultiplatform = "1.11.0"
dnssd = "1.1.0"
junit = "4.13.2"
kotlin = "2.3.10"
kotlinx-coroutines = "1.10.2"
kotlinx-serialization = "1.10.0"
kotlin = "2.3.21"
kotlinx-coroutines = "1.11.0"
kotlinx-serialization = "1.11.0"
okio = "3.16.4"
kotlinx-datetime = "0.7.1"
kermit = "2.0.8"
koog = "0.6.3"
kermit = "2.1.0"
koog = "0.8.0"
libtorrent4j = "2.1.0-39"
kotlinx-browser = "0.5.0"
ktoml = "0.7.1"
ktor = "3.4.0"
sqldelight = "2.2.1"
graalvmNative = "0.11.4"
ktor = "3.5.0"
sqldelight = "2.3.2"
graalvmNative = "1.1.0"
mavenPublish = "0.36.0"
logback = "1.5.32"
material3 = "1.10.0-alpha05"
material3-adaptive = "1.3.0-alpha05"
material3 = "1.11.0-alpha07"
material3-adaptive = "1.3.0-alpha07"

[libraries]
dnssd = { module = "com.appstractive:dns-sd-kt", version.ref = "dnssd" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion library/api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ val generateVersion by tasks.registering {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.api"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
2 changes: 1 addition & 1 deletion library/core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kotlin {
)
}

androidLibrary {
android {
namespace = "com.linroid.ketch.core"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
2 changes: 1 addition & 1 deletion library/endpoints/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.endpoints"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
2 changes: 1 addition & 1 deletion library/ftp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.ftp"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
2 changes: 1 addition & 1 deletion library/kermit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.kermit"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
2 changes: 1 addition & 1 deletion library/ktor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.ktor"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.linroid.ketch.mcp

import ai.koog.agents.core.tools.ToolRegistry
import ai.koog.agents.core.tools.reflect.tools
import ai.koog.agents.mcp.server.startSseMcpServer
import ai.koog.agents.mcp.server.startStdioMcpServer
import com.linroid.ketch.api.KetchApi
Expand Down
2 changes: 1 addition & 1 deletion library/remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.remote"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
2 changes: 1 addition & 1 deletion library/sqlite/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.sqlite"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
2 changes: 1 addition & 1 deletion library/torrent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

kotlin {
androidLibrary {
android {
namespace = "com.linroid.ketch.torrent"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
Expand Down
Loading