This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add Kotlin Android support #857
Comments
@bkase Want to sign up for this one? |
Very busy through September, but afterwards I may have some spare cycles |
Does this account for |
Got something similar in #913, but instead of creating specific |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vanilla kotlin library support was added in #810. the next big step would be to add android support.
From @bkase's comment on #810 (comment) it looks like the problem is we need the equivalent of
android_library()
for kotlin. I think that could be pretty straight-forward.We would need create a new
AndroidKotlinLibraryDescription
that behaves almost exactly likeAndroidLibraryDescription
excepts it compiles with kotlinc instead of javac.A quick look through the source code suggests we'd need to do the following:
AndroidLibrary
to take in aBaseCompileToJarStepFactory
(it currently defaults to javac)AndroidLibraryDescription
into aAndroidKotlinLibraryDescription
. Basically doing the same thing except passing inKotlincToJarStepFactory
to theAndroidLibrary
I'm not sure when I'll have time to tackle this yet. If someone else wants to take a shot go for it!
The text was updated successfully, but these errors were encountered: