Android desugaring and reproducible builds
bubu at bubu1.eu
Tue Aug 10 12:47:54 UTC 2021
On 10.08.21 14:36, Hans-Christoph Steiner wrote:
> Hey Marcus,
> This is the only documentation of that issue that I know about:
> Is this maybe related?
Is this the bug that you wanted to link to? This is an earlier issue we
opened about reproducible builds for CCTG but is unrelated to desugaring.
I'll open another issue with google about this later I guess.
> Marcus Hoffmann via rb-general:
>> I was wondering if anyone got experience with reproducible builds for
>> Android apps that use the desugaring technique.
>> We are forced to turn this on for our app as we need to use a library
>> that makes use of the "new" java 8 time APIs but as soon as we do that
>> the resulting apks more or less change completely from build to build:
>> A sample of apks and diff output can be found in this diffoscope
>> And yet I've not found anything online or in googles issue tracker
>> that talks about the desugarer being incompatible with reproducible
>> builds. Which I'd hoped would be something someone else noticed if
>> this was a general problem.
>> Anyone got any ideas here?
>>  https://developer.android.com/studio/write/java8-support-table
More information about the rb-general