Skip to content

Gradle transform cache exploding with 1.3.5 #1678

@rschattauer

Description

@rschattauer

I am using paparazzi 1.3.3 and wanted to upgrade, 1.3.4 had issues that are resolved with 1.3.5, so I was implementing the latest snapshot of it. Since using that snapshot my ~/.gradle/caches/transform-4 (or -3 or transforms within wrapper, depending on your gradle version, I am using 8.6 and tried 8.10.2 too) has been exploding on all of our CI instances. For context: I am using paparazzi in a multi module project and have plenty of modules where the paparazzi plugin is applied.

I checked the transforms within transforms using du -shc -t 30M * | sort -h and the biggest outliers are as follow:
...
166M d48bc9770ee795bbdf7528986243b391 -> unzipped-distribution
169M 21d464295408edaac324e1d752a8cb06 -> layoutlib-14.0.11
233M 2cc4b7b4cb854d20097a6a9acbbc7ee7 -> nativeruntime-dist-compat-1.0.12
233M ee68dff6cd2ae85b45f9654696932b97 -> nativeruntime-dist-compat-1.0.12
234M ea4827d0659cd67a24b31cca3f330702 -> nativeruntime-dist-compat-1.0.12

nativeruntime-dist-compat would come from robolectric and layoutlib from paparazzi (or both? no idea)

So I downgraded to 1.3.3 and couldn't replicate this issue, my transforms folder didn't make my disk explode.
After the downgrade I only had ea4827d0659cd67a24b31cca3f330702, so a single nativeruntime-dist-compat-1.0.12

I can't wrap my head around why nativeruntime-dist-compat is downloaded multiple times using paparazzi 1.3.5-SNAPSHOT but this is blocking us from 1.3.5

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions