Skip to content

Default to latest known gradle when we have no SHA for the required one

relan requested to merge relan/fdroidserver:gradle-fallback into master

We usually have an outdated version of gradlew-fdroid on the build server and can't compile apps that require the latest gradle. For example, in this build session 43% of builds (16 out of 37) failed because we miss gradle 5.4 and 5.4.1.

The thing is, most of the apps don't really need the latest version, so we can safely fall back to an earlier gradle version when we have no SHA for the proper one. After all, what do we loose trying?

Merge request reports