mirror of
https://github.com/avinal/nikki.git
synced 2026-07-03 21:40:09 +05:30
Initialize Compose Multiplatform project with AGP 9
Set up two-module structure for AGP 9 compatibility: - composeApp: KMP shared library (com.android.kotlin.multiplatform.library) - androidApp: Thin Android app shell (com.android.application) Configure all dependencies in version catalog: CMP 1.11.0, Kotlin 2.3.21, Ktor 3.4.3, Room 2.8.4, Coil 3.4.0, kotlinx-serialization/datetime/coroutines, AndroidX Navigation 2.9.2, Lifecycle 2.10.0, DataStore 1.2.1, WorkManager 2.11.1. Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
includeGroupByRegex("com\\.google.*")
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
||||
}
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = "MemosApp"
|
||||
include(":composeApp")
|
||||
include(":androidApp")
|
||||
Reference in New Issue
Block a user