Add retrolambda support

This commit is contained in:
Bradlee Speice
2014-06-10 19:30:45 -04:00
parent a7e185690e
commit 3f5909be08
4 changed files with 11 additions and 5 deletions

View File

@ -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'
}