rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Feature Request: additional rules to support [email protected] multiplatform feature

Open qibinlou opened this issue 6 years ago • 1 comments

Doc: https://kotlinlang.org/docs/reference/multiplatform.html

I think there is something great we can achieve here to marry the multiplatform feature from [email protected] 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 ^^

qibinlou avatar Dec 05 '17 13:12 qibinlou

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.

pcj avatar Dec 06 '17 03:12 pcj