[Documentation] [TitleIndex] [WordIndex

Update Gradle Wrapper

Individual Repos

task wrapper(type: Wrapper) {
    gradleVersion = '1.8'
}

/!\ If you get errors running ./gradlew wrapper, try commenting all subprojects in settings.gradle so that it doesn't fall over due to subproject problems.

Centralised Changes

We currently set a default version of the gradle wrapper in rosjava-android when creating packages/projects with the catkin_create_xxx scripts.

You can easily change the version you use in your own project after executing the scripts, but to upgrade the default version used by the scripts, do the following.

task wrapper(type: Wrapper) {
    gradleVersion = '1.8' /* this number */
}

2024-11-09 17:35