Skip to content

Commit 8d53b5b

Browse files
committed
Update Gradle example to use latest tools
1 parent cea61ec commit 8d53b5b

2 files changed

Lines changed: 6 additions & 20 deletions

File tree

examples/gradle/build.gradle

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ buildscript {
44
}
55
dependencies {
66
// replace with the current version of the Android plugin
7-
classpath 'com.android.tools.build:gradle:1.2.3'
7+
classpath 'com.android.tools.build:gradle:1.5.0'
88
// the latest version of the android-apt plugin
9-
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
9+
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
1010
}
1111
}
1212

@@ -24,26 +24,12 @@ dependencies {
2424
compile "org.androidannotations:androidannotations-api:$AAVersion"
2525
}
2626

27-
apt {
28-
arguments {
29-
androidManifestFile variant.outputs[0].processResources.manifestFile
30-
// if you have multiple outputs (when using splits), you may want to have other index than 0
31-
32-
// If you are using different applicationId than your manifest package name, add the manifest package name here
33-
// resourcePackageName "org.androidannotations.sample"
34-
35-
// You can set optional annotation processing options here, like these commented options:
36-
// logLevel 'INFO'
37-
// logFile '/var/log/aa.log'
38-
}
39-
}
40-
4127
android {
42-
compileSdkVersion 22
43-
buildToolsVersion "22.0.1"
28+
compileSdkVersion 23
29+
buildToolsVersion "23.0.2"
4430

4531
defaultConfig {
4632
minSdkVersion 9
47-
targetSdkVersion 22
33+
targetSdkVersion 23
4834
}
4935
}

examples/gradle/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip

0 commit comments

Comments
 (0)