Open qibinlou opened 6 years ago
Sounds interesting. Would be good to know the specifics of how the gradle multiplatform plugin works.
As a first step, a kotlin_js_library
rule would allow people to at least play around with compiling kotlin to js, which has been around for awhile.
Doc: https://kotlinlang.org/docs/reference/multiplatform.html
I think there is something great we can achieve here to marry the multiplatform feature from Kotlin@1.2 with Bazel to support Write once, Compile everywhere ambition. For example, the workflow of a full stack development would be: 1) write shared business logic libraries in Kotlin 2) write platform-specific backend/microservice code in Kotlin 3) write mobile/desktop/browser client side application logic code in Kotlin 4)
bazel test & bazel build
I wonder whether there is anyone at Pubref interested in discussing and experimenting implementation for that? Based on git history, @pcj any thought ^^