my company provides a lot of java projects for customers (typical consulting solutions). These projects are versioned in git and built with gradle and therefore contain a gradlew as recommended by Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
I am trying to find a solution to the task of updating the Gradle version for each of these individual projects. As you can imagine this is quite tedious if done manually.
The best solution I have come up yet is running a Jenkins job for each project that checks a web service for our current company-default Gradle version, runs
./gradlew wrapper --gradle-version <VERSION>
and pushes the result. Is there any better or even kind-of-standard way?