Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19859

The Gradle™ Way to include javaScript client projects in JVM apps

$
0
0

I think I’m dealing with the same thing, need to include jsMain output in jvmMain or front/backend so that the jvm can serve up JS that was compiled from kotlin… I’m not really sure why I dont just serve up js files and angularjs from the backend, but I guess I’m teased by the promise of doing full stack in a single language…

I had the backend serving up three.min.js but that was before I had jsMain. The ktor mpp examples dont seem to work. But even those seemed to use the from keyword to copy paste resources between platforms like your suggesting… by the way, I cant find any good docs on what this “from” keyword really does but it appears to be the only way to achieve this. I think I have to do a from, into jvmMain/resources or something but that doesnt seem like a great way.


Viewing all articles
Browse latest Browse all 19859

Trending Articles