Join Slack
Powered by
Is it possible to target both JVM and JS?
# announcements
a
Antonios Barotsis
06/27/2020, 10:40 AM
Is it possible to target both JVM and JS?
i
Iaroslav Postovalov
06/27/2020, 12:42 PM
Yes,
https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html
👍 3
a
Antonios Barotsis
06/27/2020, 12:42 PM
thanks i just found out about this!
a
andylamax
06/27/2020, 12:53 PM
And It is great. I use kotlin mpp targeting android,jvm and js in production. And it works flawlessly
a
Antonios Barotsis
06/27/2020, 1:06 PM
This seems very useful yeah
n
Nikky
06/27/2020, 11:00 PM
it is also possible to then bundle the js and resources into a shadowJar, very useful for ktor serving static content
3
Views
Open in Slack
Previous
Next