https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Marcin Bak

08/21/2020, 2:44 PM
Hi, I have two gradle modules in my project: •
shared-library
(kmp targeting jvm, js and ios) with just 1 class in commonMain •
jvmApp
(simple jvm module) with dependency to shared-library
implementation(project(path = ":shared-library"))
For some reason
jvmApp
module doesn’t see the class defined in shared-library Any ideas what I could be doing wrong?
for anyone struggling with this: the problem is that the project uses android gradle plugin which conflicts with jvm plugin used in
jvmApp
gradle module and that’s why it cannot see the classes from
shared-library