is there a documentation on how to publish a kotli...
# javascript
k
is there a documentation on how to publish a kotlin-js library to maven (local)?
g
apply plugin: 'maven'
should be enough.
and then
gradle publishToMavenLocal
But I didn’t do the test 😉
l
in my experience, its the same as a java library
using maven or maven-publish plugins
k
thx, seems to work
n
Here is the Gradle Kotlin DSL version: https://guides.gradle.org/building-kotlin-jvm-libraries/ Also works with Kotlin JS with some minor modifications.