Davide Giuseppe Farella
04/26/2020, 11:16 AMcommandline
) cannot resolve dependencies from other multiplatform modules ( my source code only ) anymore.
For example I got a domain
like
kotlin {
jvm()
js()
sourceSets {
val commonMain by getting {
dependencies {
api(`kotlin-common`)
api(`coroutines-core-common`)
}
}
val jvmMain by getting {
dependencies {
api(`kotlin-jdk8`)
api(`coroutines-core`)
}
}
}
}
and got commandline
like
kotlin {
sourceSets {
val main by getting {
dependencies {
implementation(project(":domain")
}
}
}
}
But it can resolve all the dependencies exposed by api
in domain ( kotlin, coroutines, koin, etc ), but cannot resolve from my sourceSet ( like my.project.domain.MyClass
)
For some reason it was working before, I think it stopped to work after I added an android module ( which, differently from commainline
, it’s working flawlessly )
#FYI: I got enableFeaturePreview("GRADLE_METADATA")
Davide Giuseppe Farella
04/26/2020, 11:20 AMrusshwolf
04/26/2020, 12:58 PMDavide Giuseppe Farella
04/26/2020, 1:40 PMimport kotlinx.coroutines.flow.collect
during the commit, since he think’s in unused and that broke my CI 🙂
I’ll give the confim soonDavide Giuseppe Farella
04/26/2020, 1:41 PMrusshwolf
04/26/2020, 1:42 PMDavide Giuseppe Farella
04/26/2020, 2:01 PM