8f616f359f
ci / JVM build + tests (pull_request) Failing after 54s
Every subproject now has README.md:
- 3 runnable modules (:standalone, :agentik-cli, :agentik-tui):
quickstart, env table, parameters, known limits
- 11 library modules: what it is, which problem solves, how to
wire it in, where versions live
Root README.md is the navigation hub (Quickstart, Modules table,
publish + CI/CD notes).
Also: ci.yml prunes the :memory-vector -x excludes now that
text-embedding-kmp artifacts are published to caffeine.
518 tests green.
Verified publish pipeline: :proto:publish to caffeine produces
pom.module + per-target klibs + sources for all 9 KMP targets.
🤖 Generated with [opencode]
48 lines
1.8 KiB
Kotlin
48 lines
1.8 KiB
Kotlin
plugins {
|
||
alias(libs.plugins.kotlin.multiplatform)
|
||
}
|
||
|
||
// CI-флаг: при -PskipVectorMemory=true зависимости text-embedding-kmp
|
||
// не подключаются. Нужно для CI runner'а — text-embedding-kmp ещё не
|
||
// опубликован в caffeine, артефакты есть только в локальном ~/.m2.
|
||
// Использование:
|
||
// ./gradlew :memory-vector:compileKotlinJvm -PskipVectorMemory=true
|
||
// Локальная разработка без флага — зависимости подключаются как обычно.
|
||
val skipVectorMemory: Boolean =
|
||
(project.findProperty("skipVectorMemory") == "true") ||
|
||
System.getenv("SKIP_VECTOR_MEMORY") == "1"
|
||
|
||
kotlin {
|
||
jvmToolchain(21)
|
||
|
||
// Vector-бэкенд JVM-only: JVector не публикует KMP-таргеты, но его Java 11
|
||
// base jar работает на Android ART через scalar fallback. Для desktop JVM
|
||
// HotSpot 21+ автоматически подхватывается Panama Vector API (multirelease).
|
||
jvm()
|
||
|
||
sourceSets {
|
||
commonMain.dependencies {
|
||
api(project(":memory-api"))
|
||
implementation(libs.kotlinx.coroutines.core)
|
||
implementation(libs.kotlinx.serialization.json)
|
||
}
|
||
commonTest.dependencies {
|
||
implementation(kotlin("test"))
|
||
implementation(libs.kotlinx.coroutines.core)
|
||
implementation(libs.kotlinx.coroutines.test)
|
||
}
|
||
jvmMain.dependencies {
|
||
implementation(libs.jvector)
|
||
implementation(libs.sqldelight.sqlite.driver)
|
||
}
|
||
jvmTest.dependencies {
|
||
implementation(kotlin("test"))
|
||
}
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
add("jvmMainApi", libs.text.embedding.api)
|
||
add("jvmMainImplementation", libs.text.embedding.siglip)
|
||
}
|