Question, is npm-publish compatible with Kotlin/Wa...
# npm-publish
l
Question, is npm-publish compatible with Kotlin/WasmJs? Currently, it creates the following error:
Copy code
Failed to apply plugin class 'org.gradle.language.base.plugins.LifecycleBasePlugin'.
> Cannot add task 'assemble' as a task with that name already exists.
b
Shouldn't be seeing as it's tightly coupled with kotlin js gradle DSL internals
However you should be able to manually configure your own npm-publish package and publication to push required files to npm
The arror you've posted doesn't seem related to npm-publish plugin, might be a red herring of sorts? Try putting npm-publish at the very bottom of your plugins block to see if some other plugin is producing it.
l
It only happened with npm publish enabled on WasmJs
With it disabled it was fine