You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 aJavaInfo
provider.On large modules R class compilation will not be a botteneck.
The text was updated successfully, but these errors were encountered: