Hey everyone, i'm building a kmp library and i'm t...
# library-development
a
Hey everyone, i'm building a kmp library and i'm trying to include it in debug builds in my Android app as a composite build, i have a simple setup
settings.gradle
Copy code
val isDebug = gradle.startParameter.taskNames.any {
    it.contains("debug", ignoreCase = true)
}

if (isDebug) {
    println("Including local KMP library project for debug")
    includeBuild("../sdk")
}
and as a dependency
Copy code
implementation("dev.ahmedmourad.sdk:core")
it builds and compiles fine, problem is that the IDE (both Android Studio and IntelliJ) fail to resolve anything from the sdk, it's all in red but it build fine I have Android Studio 2025.1.1 and IntelliJ 2025.1.1.1, both have the Kotlin Multiplatform plugin installed If anyone has any idea how to get around this please let me know, thank you!