grab / grab/grab-bazel-common

Consider generating R class bytecode directly.

Open
#35 0 comments 0 reactions 1 assignee Claimed by @arunkumar9t2 View on GitHub
enhancement
Dominant language
Kotlin
Stars
42
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Currently stub compiler generates R.java and other databinding classes for Kotlin compilation to work. The R.java in particular is compiled independently to allow not link it in runtime using `never_link`. This can be avoided by simply generating the R class as `.class` file using Java bytecode manipulation and pass it to Kotlin target via a `JavaInfo` provider.

On large modules R class compilation will not be a botteneck.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.