File: settings.gradle.kts
Purpose: Configures the Gradle project settings, including project name, repositories, and included modules.
| Component / Setting |
Purpose |
rootProject.name |
Defines the display name of the project in Gradle and IDEs. |
include(...) |
Specifies the modules to include in the Gradle build (e.g., :app, :shared, :ios). |
pluginManagement |
Configures plugin resolution strategy and repositories. |
dependencyResolutionManagement |
Sets up central dependency repositories for all modules. |
- Includes Android app, shared KMM module, and iOS module.
- Defines
google(), mavenCentral(), and gradlePluginPortal().
- Ensures that Kotlin Multiplatform, Android, and other plugins are resolved consistently.
| Property |
Description |
rootProject.name |
Sets the Gradle root project name. |
include(":app", ":shared", ":ios") |
Registers the main modules. |
| Test Case |
Description |
projectLoadsInAndroidStudio() |
Project opens with correct name and modules. |
gradleSyncPasses() |
Gradle sync completes without errors. |
- Parameterize repository URLs for internal mirrors.
- Apply version catalog (
libs.versions.toml) for dependency management.