From 3f5909be082ca7d00038f6bed289239a171244ef Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Tue, 10 Jun 2014 19:30:45 -0400 Subject: [PATCH] Add retrolambda support --- MinimalBible/build.gradle | 8 +++++++- appcompat_v7/build.gradle | 2 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/MinimalBible/build.gradle b/MinimalBible/build.gradle index a6b2d98..95906b8 100644 --- a/MinimalBible/build.gradle +++ b/MinimalBible/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'android' apply plugin: 'android-apt' +apply plugin: 'retrolambda' buildscript { repositories { @@ -7,6 +8,7 @@ buildscript { } dependencies { classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2+' + classpath 'me.tatarka:gradle-retrolambda:1.3.2' } } @@ -43,7 +45,7 @@ dependencies { android { compileSdkVersion 19 - buildToolsVersion "19.0.3" + buildToolsVersion "19.1.0" sourceSets { main { @@ -82,4 +84,8 @@ android { lintOptions { abortOnError false } +} + +retrolambda { + jdk '/usr/lib/jvm/java-8-oracle' } \ No newline at end of file diff --git a/appcompat_v7/build.gradle b/appcompat_v7/build.gradle index 2c144a5..21b91c2 100644 --- a/appcompat_v7/build.gradle +++ b/appcompat_v7/build.gradle @@ -6,7 +6,7 @@ dependencies { android { compileSdkVersion 19 - buildToolsVersion "19.0.3" + buildToolsVersion "19.1.0" sourceSets { main { diff --git a/build.gradle b/build.gradle index fdf10eb..8ebc4db 100644 --- a/build.gradle +++ b/build.gradle @@ -4,6 +4,6 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:0.9.+' + classpath 'com.android.tools.build:gradle:0.11.+' } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5399b01..de04f62 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon May 05 23:06:48 EDT 2014 +#Tue Jun 10 19:26:46 EDT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip +distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip