https://kotlinlang.org logo
a

Alexander Minyaev

11/03/2019, 5:14 AM
Hello! How to connect mpp-module to js-module? Description my problem here:https://stackoverflow.com/questions/58677550/how-to-connect-multiplatform-module-to-js-module-with-gradle
e

Evan R.

11/04/2019, 1:55 AM
Do you have a method of publishing your MPP module to a gradle repository? If not I’d recommend converting to a multi-module build and importing the MPP library via
project()
in your JS module’s dependencies section
a

Alexander Minyaev

11/04/2019, 10:17 PM
Yes, I have line with
implementation(project(:domain))
. But problem was in other case. I had module with name
domain
and gradle imported some library(I think it was this https://www.npmjs.com/package/domain) from npm in js module. After rename
domain
to another name, all in the js app works.