buildsystem: allow using the system gradle
We don't need to download gradle if it's on the system. We just need to install a wrapper for the version we want.
It will avoid downloading it every time with these Docker images: docker-images!329 (merged)