gradle: Don't include missing resource URLs#520
Conversation
If a given URL cannot be downloaded, Gradle will report it as the resource being missing. Respect this when finding URLs so we don't end up with URLs that are 404s. Also make the URL list a set to facilitate this. It doesn't need to contain duplicates anyway. Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
89f942c to
3185499
Compare
Do you have a file on which we could test this? |
You mean like a log? I'm pretty sure this was the codebase I was working with at the time: https://github.com/zacharee/SamloaderKotlin |
Yes, I'd need a log which I could parse and compare before/after this patch to see whether it's working correctly. |
If a given URL cannot be downloaded, Gradle will report it as the resource being missing. Respect this when finding URLs so we don't end up with URLs that are 404s.
Also make the URL list a set to facilitate this. It doesn't need to contain duplicates anyway.