gradle-s3-build-cache
gradle-s3-build-cache copied to clipboard
Add a configuration option to limit the maximum size of the cached entry
I've seen a case when the cached object was 35MiB, and it was caused by a single unit-test that had extremely long test name.
The test in question did include a multi-megabyte String
in the test name (it was a parameterized test, and the string was included into the parameter).
Apparently, 30MiB retrieval over the internet does not sound right, so I would like to have an option to cap the maximum size of the cached entries.
This sounds like good idea. Would you mind opening a pull request?
I'm sorry, I have already rewritten everything to Kotlin and implemented this (and many other) features. I see no reason to file pull requests provided you want to stick with Java: https://github.com/myniva/gradle-s3-build-cache/issues/42