Fang
Fang

Reputation: 3665

What's the two Gradle's mean in Android Studio?

Two version in gradle-wrapper.properties(distributionUrl gradle-2.4-all.zip) and build.gradle(classpath 'com.android.tools.build:gradle:1.3.0')? they are two different version!

Upvotes: 1

Views: 103

Answers (1)

Gabriele Mariotti
Gabriele Mariotti

Reputation: 364780

In the gradle-wrapper.properties file you set the version of the Gradle. For example the 2.4 version.

With

classpath 'com.android.tools.build:gradle:1.3.0'

inside your gradle files, you set the version of the android plugin for Gradle. They are different. You can find more info about the android plugin here.

Upvotes: 3

Related Questions