Skip to content

Commit 94be57d

Browse files
committed
Gradle Android plugin version up
1 parent 51ac33b commit 94be57d

File tree

1 file changed

+4
-4
lines changed
  • org.nodeclipse.enide.editors.gradle/docs/android

1 file changed

+4
-4
lines changed

org.nodeclipse.enide.editors.gradle/docs/android/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* 2014-04-01 check for gradle version
1616
* 2014-04-10 wrapper and runAndroidApplication tasks
1717
* 2014-04-25 rename to run, add <<
18+
* 2014-05-23 defaut plugin version 0.10.x
1819
* @author Paul Verest
1920
*/
2021
println GradleVersion.current().prettyPrint()
@@ -25,13 +26,13 @@ buildscript {
2526
//jcenter()
2627
}
2728
dependencies {
28-
classpath 'com.android.tools.build:gradle:0.9.+' //0.9.2
29+
classpath 'com.android.tools.build:gradle:0.10.+'
2930
}
3031
}
31-
assert gradle.gradleVersion >= "1.10" // android plugin 0.9 requires Gradle 1.10, 1.11
32+
assert gradle.gradleVersion >= "1.10" // android plugin 0.10 requires Gradle 1.10, 1.11, 1.12
3233
// after `gradle wrapper` it is possible to use './gradlew build' with Gradle version specified
3334
task wrapper(type: Wrapper) {
34-
gradleVersion = '1.11'
35+
gradleVersion = '1.12'
3536
}
3637
apply plugin: 'android'
3738

@@ -71,7 +72,6 @@ android {
7172

7273
// runAndroidApplication
7374
task run (type: Exec, dependsOn: ':installDebug') << {
74-
println 'asdasd'
7575
//TODO update Activity name below or find a way to get it from AndroidManifest.xml
7676
if (System.properties['os.name'].toLowerCase().contains('windows')) {
7777
// windows

0 commit comments

Comments
 (0)