Fixed
Status Update
Comments
lu...@google.com <lu...@google.com>
ri...@google.com <ri...@google.com>
lu...@google.com <lu...@google.com> #2
This is now fixed, will be included in Arctic Fox Canary 10.
lu...@google.com <lu...@google.com> #3
Submitted
Description
Build #AI-202.7319.50.2031.7049475, built on December 24, 2020
Runtime version: 11.0.8+10-b944.6842174 x86_64
VM: OpenJDK 64-Bit Server VM by N/A
macOS 10.16
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry: external.system.auto.import.disabled=true
I created a repro project for non-transitive R with databinding, and if you run build and then the migration tool, it will try to modify R.string.mid_lib in app/build/generated/source/kapt/debug/com.example.myapplication/databinding/FragmentFirstBindingImpl.java
In the screenshot you can see the summary also saying it's modifying code in generated classes.
As the generated classes will be overwritten in the next run, we shouldn't change them at all. Is it possible to remove generated classes from the migration tool?