spierce7
10/24/2022, 4:20 PMeygraber
10/24/2022, 4:29 PMspierce7
10/24/2022, 4:29 PMeygraber
10/24/2022, 4:43 PMR8 is a java program shrinking and minification tool that converts java byte code to optimized dex code.
spierce7
10/24/2022, 4:45 PMjw
10/24/2022, 5:19 PMeygraber
10/24/2022, 5:30 PMjw
10/24/2022, 5:32 PMThomas
10/24/2022, 7:04 PMspierce7
10/25/2022, 2:53 PMalexey.tsvetkov
10/25/2022, 10:55 PMWhy was the decision made to support proguard workflows, instead of an r8 workflow? R8 has many more compose optimizations, right?Well, we have not intended to introduce ProGuard primarily for optimizing bytecode. The primary reason behind introducing ProGuard/R8 is to simplify shrinking and/or obfuscation for our users. It was requested multiple times in this channel and in our issue tracker. Both tools should be similar in this regard. Despite the fact that it can output bytecode, R8 seems to be positioned primarily for Android development. For example, there are no non-Android specific docs. At the same time it does not guarantee 100% compatibility with ProGuard. It feels weird to tell users: “Hey, we added support for R8. It’s like ProGuard, but might be a little different. It also does not have own docs, but since it more or less like ProGuard, so look at the ProGuard docs. Good luck!” Just to clarify, I don’t mean to strictly prefer one tool for another. We can support both, probably. But we had to start with something, and I don’t see the vague “more compose optimizations” as a very compelling argument for starting with R8.
jw
10/25/2022, 10:57 PMjw
10/25/2022, 11:11 PMhfhbd
10/26/2022, 6:25 AMmikehearn
10/26/2022, 8:16 AMmikehearn
10/26/2022, 8:17 AMjw
10/26/2022, 11:30 AMmikehearn
10/26/2022, 12:07 PMjw
10/26/2022, 2:23 PM