ef4804a477
Новый репозиторий под Android-версию клиента. Базовый проект на Jetpack Compose: один модуль :app, AGP 9.0.1, Kotlin 2.4.20, Compose BOM 2025.05.00, Ktor 3.1.3 (движок OkHttp — ядро больше не выбирает движок само). Ядро подключается из Nexus caffeine как pw.binom.agentik:client:5. Тема одна — тёмная, те же цвета, что согласованы для десктопного клиента (#121218 / #17212B / #6AB2F2 / #EBEBEB / #768C9E / #EC3942); экраны обязаны читать MaterialTheme.colorScheme.*, а не палитру напрямую. Сборка: ./gradlew :app:assembleDebug (нужен local.properties с sdk.dir).
31 lines
806 B
Kotlin
31 lines
806 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven {
|
|
name = "caffeine"
|
|
url = uri("http://192.168.76.117/repository/caffeine/")
|
|
// Nexus отдаёт по plain HTTP — без флага Gradle откажется.
|
|
isAllowInsecureProtocol = true
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = "agentik-android"
|
|
include(":app")
|