Hi, I have kotlinJS project and want publish artif...
# gradle
n
Hi, I have kotlinJS project and want publish artifact by maven-publish plugin, but created .pom hasn't our dependencies. How can I configure project for adding project dependencies to publicated .pom?
g
What kind dependencies? Because it should work out of the box (at least with Kotlin plugin 1.3.50-eap)
n
We used 1.3.41 and dependency on kotlin-stdlib-js. We tried 1.3.50-eap-86, but got .pom without dependency.
message has been deleted
g
do you expect to have dependencies on stdlib?
maybe it’s just intentionally excluded?
i
@gildor We really don't know how maven publish plugin should work, but for now we expect that at least maven dependencies (e.g. kotlin-stdlib-js) should be in final pom. But maybe it is incorrect understaning of what maven publish plugin do. So it is interesting for us, how we can include dependency information to publication.
g
it should include dependency information, I just not sure that it includes stdlib-js, it may be just a bug
i
It actual not only for stdlib-js, but for kodein-erased-js and other dependencies also
g
I see
i
Seems that the problem is that publishing use
artifact
, it is better to use
from(components['kotlin'])