Skip to content
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

Prefix R classes with name to avoid conflicts #21

Merged
merged 2 commits into from May 18, 2022

Conversation

pswaminathan
Copy link
Contributor

Without this, using two kt_db_android_library targets in the same package fails with:

	File "/mypath/app/BUILD.bazel", line 251, column 22, in <toplevel>
		kt_db_android_library(
	File "/private/var/tmp/_bazel_p/c1a9d93c5d307e720ae1d0573bce325b/external/grab_bazel_common/tools/databinding/databinding.bzl", line 89, column 24, in kt_db_android_library
		native.java_library(
Error in java_library: java_library rule 'r-classes' in package 'app' conflicts with existing java_library rule, defined at /mypath/app/BUILD.bazel:230:22

@arunkumar9t2
Copy link
Contributor

Thank you!

@arunkumar9t2 arunkumar9t2 merged commit 90b86cb into grab:master May 18, 2022
akshay-grabtaxi pushed a commit that referenced this pull request Jun 28, 2023
* Prefix R classes with name to avoid conflicts

* Add name to res values file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants