From e7b766bfd46706805b110c1cfdfbdb1f485b2bad Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Sun, 17 May 2015 18:08:59 +0200 Subject: fix #85, use key_ids correctly as bonus, guava and retrolambda! Nicer code --- app/build.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'app/build.gradle') 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 -- cgit v1.2.3