aef5083801
ci / JVM build + tests (push) Failing after 1m9s
- Replaced usages of `:message-store-api` and `:working-memory-api` with `:journal-api`, `:outbox-api`, and `:context-api`. - Deprecated legacy `EventStore` and `MessageStore` interfaces, added `typealias` for backward compatibility. - Updated imports across all modules with references to `:journal-api` and `:outbox-api`. - Introduced `journalRoutes` and `outboxRoutes` in `:server` for audit log and live event stream endpoints. - Adjusted `Agent` to expose read-only `journal` and `outbox` stores for improved modularity and clarity. - Removed legacy Event and AgentEvent definitions from `:proto`, migrated to `:outbox-api`. - Storage-related modules have been updated to support the new APIs consistently.
44 lines
1.6 KiB
Kotlin
44 lines
1.6 KiB
Kotlin
plugins {
|
||
alias(libs.plugins.kotlin.multiplatform)
|
||
alias(libs.plugins.kotlin.serialization)
|
||
}
|
||
|
||
kotlin {
|
||
jvmToolchain(21)
|
||
|
||
// "Все возможные цели сборки": jvm + весь натив. Полный набор KMP-целей.
|
||
jvm()
|
||
macosX64()
|
||
macosArm64()
|
||
iosX64()
|
||
iosArm64()
|
||
iosSimulatorArm64()
|
||
linuxX64()
|
||
linuxArm64()
|
||
mingwX64()
|
||
|
||
sourceSets {
|
||
commonMain.dependencies {
|
||
api(libs.kotlinx.coroutines.core)
|
||
api(libs.kotlinx.serialization.core)
|
||
// для JsonElement в MessageContext.metadata
|
||
api(libs.kotlinx.serialization.json)
|
||
// Read-only storage handles, выставляемые через Agent.journal
|
||
// и Agent.outbox. Типы JournalStore/OutboxStore фигурируют в
|
||
// public-сигнатуре Agent, поэтому api-висимости.
|
||
//
|
||
// Линейный граф зависимостей (без циклов):
|
||
// :proto ──► :outbox-api (нет обратной зависимости)
|
||
// :proto ──► :journal-api (нет обратной зависимости)
|
||
// Добились переносом AgentEvent/CommonEvent/Event из :proto в
|
||
// :outbox-api — они теперь self-contained в outbox (не нужны
|
||
// :proto-типы), а :proto использует их через :outbox-api.
|
||
api(project(":journal-api"))
|
||
api(project(":outbox-api"))
|
||
}
|
||
commonTest.dependencies {
|
||
implementation(kotlin("test"))
|
||
}
|
||
}
|
||
}
|