-
Notifications
You must be signed in to change notification settings - Fork 3
Unable to add kotlin_library to android_binary w/ kotlin v2 #8
Comments
I installed the android SDK and tried out the tutorial. The android rules are very picky about what they import. If you do a The android rules need to be updated to accept the Kotlin rules, the Kotlin rules currently only export full_compile_jars -- so it would be as simple as that. The compiler switches might need to be made configurable in case "language-level=1.8" causes problems. this is what the pattern looks like for importing the jar:
|
A slight detour now. I'm not sure how I wasn't seeing these problems in the first place, but now I am. Prior, some of the packages were using I tried adding The build file for reference:
The output:
|
@holmes is These are the macro steps setup by the pubref rules. |
I don't know what
|
|
Referenced from bazelbuild/intellij#217
I've got almost all my packages building, but it's failing when I try to put a
kotlin_library
in anandroid_binary
with the error:Kotlin definition:
Android binary definition:
The text was updated successfully, but these errors were encountered: