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):
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:
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?