rootProject.name = "Mantra" enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") pluginManagement { repositories { google { mavenContent { includeGroupAndSubgroups("androidx") includeGroupAndSubgroups("com.android") includeGroupAndSubgroups("com.google") } } mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositories { google { mavenContent { includeGroupAndSubgroups("androidx") includeGroupAndSubgroups("com.android") includeGroupAndSubgroups("com.google") } } mavenCentral() } } plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0" } include(":composeApp") // Composite build: substitute the external module coordinate with the submodule's :library project. includeBuild("lightning-kmp-app") { dependencySubstitution { // the submodule's project stays named :library (compose-resources derives the Res package // from it); only the coordinate consumers declare is renamed. substitute(module("fr.acinq.phoenix:lightning-kmp-app")).using(project(":library")) } }