Optional snapshot root directory gradle property
Allows the consumer of the Paparazzi library to specify where they want the snapshots to be saved. This includes creating a gradle plugin extension for Paparazzi with this property in it, we can add other configurable properties to this extension in future.
This can be set as shown in the consumer's gradle file
paparazzi {
snapshotRootDirectory = file("where/I/want/the/snapshots")
}
Is there any blocker for this PR?
@brenpearson do you still have interest in this?
I can fork your implementation if you lack of time to continue working on this.
@JavierSegoviaCordoba I'm not going to be able to update this within the next couple of weeks. If you have time then by all means, otherwise I'll come back and take a look in probably 2 weeks time 🙏
Can I push on this branch or should I create a new PR? @brenpearson commits are preserved in both cases.
EDIT: As there are conflicts, I am going to create a different PR and I will share the link here.
Updated PR with @TWiStErRob suggestion: https://github.com/cashapp/paparazzi/pull/736
Exporting this as a repo-level (vs module-level) config is likely the approach we'll want here; when would modules otherwise have different settings?