Hi, I'm setting up a simple android app to test th...
# gradle
k
Hi, I'm setting up a simple android app to test the gradle kotlin DSL. I have an app module with this setting (simplified version):
Copy code
plugins {
    id("com.android.application")
    id("kotlin-android")
    id("kotlin-android-extensions")
}
android {
    [...]
}
dependencies {
    implementation(kotlin("stdlib-jdk8"))
    implementation(project(":domain"))
    implementation(project(":presentation"))
    [...]
}
I have two other modules: one is
domain
which is a basic kotlin module (
plugins { kotlin("jvm") }
), and the other one is
presentation
, which is an android library:
Copy code
plugins {
    id("com.android.library")
}
android {
    [...]
}
dependencies {
    implementation(kotlin("stdlib-jdk8"))
    implementation(project(":domain"))
    [...]
}
In the IDE, everything works fine. But when I'm trying to launch a build, I get weird
unresolved reference
issues only on the
presentation
module. Do you know where the problem can come from?
d
Nothing seems out of place in what you've said or sampled there @kluck 🤔.
i
Have you applied
kotlin-android
plugin to the
presentation
module too?