summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-05-17 18:08:59 +0200
committerMohamed Zenadi <mohamed@zenadi.com>2015-05-17 18:08:59 +0200
commite7b766bfd46706805b110c1cfdfbdb1f485b2bad (patch)
tree0ac87d2766e7b75c6e751ce95fe7313fce8de920 /app/build.gradle
parenta23b268d9bcc941f1073465bc43ccf98f63a9d3c (diff)
fix #85, use key_ids correctly
as bonus, guava and retrolambda! Nicer code
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 622aa1dc..74753bb2 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -14,8 +14,8 @@ android {
}
compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_7
- targetCompatibility JavaVersion.VERSION_1_7
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
}
// avoid Travis failures
@@ -33,9 +33,13 @@ dependencies {
compile 'org.apache.commons:commons-io:1.3.2'
compile 'com.jayway.android.robotium:robotium-solo:5.3.1'
compile 'com.melnykov:floatingactionbutton:1.2.0'
+ compile group: 'com.google.guava', name: 'guava', version: '18.0'
}
tasks.findAll { // make all tasks whose name starts with 'assemble'...
it.name.startsWith 'assemble'
}.each { // ... depending on 'copyDependenciesIntoLibs' task from 'copyLibs.gradle' script plugin
it.dependsOn copyDependenciesIntoLibs
-} \ No newline at end of file
+}
+
+apply plugin: 'com.android.application' //or apply plugin: 'java'
+apply plugin: 'me.tatarka.retrolambda' \ No newline at end of file