mirror of
https://github.com/apache/cordova-android.git
synced 2025-04-24 18:30:12 +08:00
CB-8143 Use gradle plugin 1.0.0 for Android Studio 1.0.0
This commit is contained in:
parent
731a36d3a0
commit
b92303b1c9
@ -35,7 +35,11 @@ buildscript {
|
|||||||
// installed version of Gradle. This dependency is documented at
|
// installed version of Gradle. This dependency is documented at
|
||||||
// http://tools.android.com/tech-docs/new-build-system/version-compatibility
|
// http://tools.android.com/tech-docs/new-build-system/version-compatibility
|
||||||
// and https://issues.apache.org/jira/browse/CB-8143
|
// and https://issues.apache.org/jira/browse/CB-8143
|
||||||
if (gradle.gradleVersion >= "2.1") {
|
if (gradle.gradleVersion >= "2.2") {
|
||||||
|
dependencies {
|
||||||
|
classpath 'com.android.tools.build:gradle:1.0.0+'
|
||||||
|
}
|
||||||
|
} else if (gradle.gradleVersion >= "2.1") {
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:0.14.0+'
|
classpath 'com.android.tools.build:gradle:0.14.0+'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user