Enable Java 8 features in Dolphin

This commit is contained in:
mahdihijazi 2017-12-17 16:52:19 +01:00
parent 4733bbd8f3
commit c6bc25a189
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@ android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion '26.0.2' buildToolsVersion '26.0.2'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions { lintOptions {
// This is important as it will run lint but not abort on error // This is important as it will run lint but not abort on error
// Lint has some overly obnoxious "errors" that should really be warnings // Lint has some overly obnoxious "errors" that should really be warnings