grab-bazel-common icon indicating copy to clipboard operation
grab-bazel-common copied to clipboard

Explore if non databinding modules can also use the stub compiler approach

Open arunkumar9t2 opened this issue 3 years ago • 0 comments

rules_kotlin currently deploys a sandwich library to allow for Kotlin + android resources compilation which is bit of an atypical setup that involves exporting as well. Since our own kt_db_android_library is able to use stubs to compile Kotlin classes successfully with small bit of work we could use it for non databinding modules as well. The new approach might also allow us to compile actual resources processing from android_library and our stub R class + kt_jvm_library in parallel.

We might only see proper benefits if we implement #5 worker support but worth a try.

arunkumar9t2 avatar Jul 30 '22 15:07 arunkumar9t2