Tutorial

Plugins

UserGuide

Wrapper

The Gradle Wrapper - Gradle User Guide Version 3.0

Changing the gradle version

1
> gradle wrapper --gradle-version 3.1

或者

1
2
3
task wrapper(type: Wrapper) {
gradleVersion = 2.14
}

Then run:

> gradle wrapper

Or edit distribution URL in gradle/gradle-wrapper.properties

1
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

Tools

Develop