46 lines
1.1 KiB
Kotlin
46 lines
1.1 KiB
Kotlin
@file:Suppress("UnstableApiUsage")
|
|
|
|
pluginManagement {
|
|
// Convention plugins live in a composite build.
|
|
includeBuild("build-logic")
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
// Auto-provisions the JDK 17 toolchain used by every module.
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "Android Architecture Showcase"
|
|
|
|
// --- App ---
|
|
include(":app")
|
|
|
|
// --- Core (shared across features) ---
|
|
include(":core:domain")
|
|
include(":core:data")
|
|
include(":core:presentation")
|
|
include(":core:design-system")
|
|
|
|
// --- Feature: characters (flagship MVI; one ViewModel, two renderers) ---
|
|
include(":feature:characters:domain")
|
|
include(":feature:characters:data")
|
|
include(":feature:characters:presentation")
|
|
include(":feature:characters:presentation-compose")
|
|
include(":feature:characters:presentation-views")
|
|
|
|
// --- Feature: about (MVVM contrast) ---
|
|
include(":feature:about:presentation")
|