-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rules_kotlin don't work #203
Comments
My build file: load("@gmaven_rules//:defs.bzl", "gmaven_artifact") MANIFEST = "AndroidManifest.xml" android_binary( kt_android_library(
) |
Workspace File: load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") android_sdk_repository( http_archive( rules_kotlin_version = "f7a3b5fd823c2418fc2c2881c00e27e4d63475d5" http_archive( load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains") |
ERROR: /Users/smba/repo/Android/AppSimpleAndroid/app/src/main/BUILD:15:1: Validating Android resources for //AppSimpleAndroid/app/src/main:src_base failed (Exit 1) ResourceProcessorBusyBox failed: error executing command bazel-out/host/bin/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/ResourceProcessorBusyBox --tool VALIDATE -- --buildToolsVersion 28.0.3 --aapt ... (remaining 16 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox |
Hey @salim-boudriiya Also there is a good fork from @cgruber here: Please select one of this repo and see example project and correct your rules. Also |
Hi Mihail, thank you very much for your help. Regards, |
As a quick update, per #159, github.com/cgruber/rules_kotlin (which works today with 1.3) will be merged into this repository, and I'll be helping maintain this one (taking appropriate changes here, and generally making this set of rules useful until we get the set of rules they're using inside google ready for open-source). Expect to see a working version of these rules within a few days from now. |
Hi @mig35 ,
I am working on a project, and I need to build an andoird project, written with kotlin in bazel, but I am finding several problems when making the construction, since I don't know how to attach the resources (res) and the AndroidManifest.xml file inside of the kt_jvm_library macro.
Please, can you help me to do this construction
Regards
Salim
The text was updated successfully, but these errors were encountered: