Skip to content

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

Description

@arunkumar9t2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions