# Gradle wrapper example in user guide references outdated Gradle version

**URL:** <https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072>\
**Category:** Old Forum Archive\
**Created:** [April 9, 2014, 11:37am UTC](https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072 "2014-04-09T11:37:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sslavic](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/sslavic/32/146_2.png) [@sslavic](https://discuss.gradle.org/u/sslavic)\
**Post date:** [April 9, 2014, 11:37am UTC](https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072/1 "2014-04-09T11:37:00Z")

</div>

This docs sample needs to be updated: [https://github.com/gradle/gradle/blob/master/subprojects/docs/src/samples/userguide/wrapper/simple/build.gradle#L2](https://github.com/gradle/gradle/blob/master/subprojects/docs/src/samples/userguide/wrapper/simple/build.gradle#L2)

---

<div class="post-metadata">

**Author:** ![bmuschko](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/bmuschko/32/5458_2.png) [@bmuschko](https://discuss.gradle.org/u/bmuschko)\
**Post date:** [April 9, 2014, 12:41pm UTC](https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072/2 "2014-04-09T12:41:00Z")

</div>

The wrapper doesn’t have to be the latest version. In fact often times projects want to stay on an older version of Gradle to ensure full compatibility of their build. The Gradle version really just depends on what you choose to use in your project. 1.4 is just and example here.

---

<div class="post-metadata">

**Author:** ![sslavic](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/sslavic/32/146_2.png) [@sslavic](https://discuss.gradle.org/u/sslavic)\
**Post date:** [April 9, 2014, 1:09pm UTC](https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072/3 "2014-04-09T13:09:00Z")

</div>

People tend to use documentation examples, relying that latest documentation is latest recommended best practice; in this case that their new Gradle project will be built using latest Gradle. If they do that now with this example, please correct if I’m wrong, they will get old Gradle wrapper, which maybe hasn’t changed since 1.4 but it configures old 1.4 Gradle URL and the project will end up being built with old Gradle.

---

<div class="post-metadata">

**Author:** ![bmuschko](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/bmuschko/32/5458_2.png) [@bmuschko](https://discuss.gradle.org/u/bmuschko)\
**Post date:** [April 9, 2014, 1:16pm UTC](https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072/4 "2014-04-09T13:16:00Z")

</div>

That would be correct. Maybe we can improve on the describing text here. Would you be interested in working on that? We’d love to see improved documentation. If yes, feel free to submit a pull request.

---

<div class="post-metadata">

**Author:** ![sslavic](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/sslavic/32/146_2.png) [@sslavic](https://discuss.gradle.org/u/sslavic)\
**Post date:** [April 9, 2014, 1:25pm UTC](https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072/5 "2014-04-09T13:25:00Z")

</div>

Yes I would. I would have created pull request and created ticket in JIRA already, at least initially with just version change in that sample, but creating tickets on JIRA seems to be disabled for community, and message there mentions to create topic here first. Please create ticket in JIRA for this, and share ticket number here, so I can reference it in commit, branch, and pull request.

---

<div class="post-metadata">

**Author:** ![bmuschko](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/bmuschko/32/5458_2.png) [@bmuschko](https://discuss.gradle.org/u/bmuschko)\
**Post date:** [April 9, 2014, 1:40pm UTC](https://discuss.gradle.org/t/gradle-wrapper-example-in-user-guide-references-outdated-gradle-version/2072/6 "2014-04-09T13:40:00Z")

</div>

Not a big deal. No need to necessarily create a JIRA ticket for this. Please also provide us with the signed CLA. For more information check the [contribution page](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
