Skip to content

Archaic Wrapper

Jon Schneider edited this page May 26, 2016 · 3 revisions

The archaic wrapper rule updates wrapper tasks that have fallen out of date.

To apply the rule, add:

gradleLint.rules += 'archaic-wrapper'

When not in offline mode, the rule looks up the current version of Gradle on services.gradle.org.

A build containing a wrapper task with a gradleVersion property older than 2 minor releases before the current or a major version older than the current is considered to be in violation.

Also, the rule will add a gradleVersion property to any wrapper task that does not contain one.