-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Gradle wrapper in shared needs to be updated often.
Please not that in regular gradle project, the gradl* files and directory are expected to be at the root of the project.
Probably need to checkout main repo https://github.com/mtransitapps/mtransit-for-android and then run ./.github/actions/setup composite action before updating gradle wrapper.
Then will need to copy gradle* files and directory to commons/shared/ (with cp -R ./gradle* commons/shared/) before creating the PR in commons submodule
Create CI workflow with inputs for gradle-version and gradle-distribution-sha256-sum
The Gradle command to update is:
./gradlew wrapper --gradle-version <gradle-version> --gradle-distribution-sha256-sum=<gradle-distribution-sha256-sum>
The sha can be found here: https://gradle.org/release-checksums/ (link should be in CI input description)
Can use this Github action
Similar to: .github/workflows/gradle-wrapper-validation.yml