How to use my custom Kotlin(Javascript) library in Idea

Thanks, I have used the shared pom file. Just had to include an ant script that copies Kotlin source and generated JS file from target/classes and it works. https://github.com/jean79/yested/blob/master/pom.xml J.