adding Retrolambda

This commit is contained in:
Felix 2017-03-24 23:50:30 +01:00
parent 09a2099718
commit ec76cdba7b
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'
android {
compileSdkVersion 25
@ -23,7 +24,13 @@ android {
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:leanback-v17:25.3.0'

View file

@ -11,7 +11,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta6'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
@ -37,4 +36,4 @@ ext{
task clean(type: Delete) {
delete rootProject.buildDir
}
}