Execute the following command in a Gradle project to upgrade the Gradle Wrapper to the specified version:
./gradlew wrapper --gradle-version 7.4.2
- Gradle docs: Upgrading the Gradle Wrapper
- Gradle releases: check here to find the latest version!
Execute the following command in a Gradle project to upgrade the Gradle Wrapper to the specified version:
./gradlew wrapper --gradle-version 7.4.2