Enable Java 1.7 features

This commit is contained in:
str4d
2015-02-28 00:46:49 +00:00
parent 75e4153f4e
commit b6f1cdc769
2 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,10 @@ android {
versionNameSuffix '-DEBUG'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
abortOnError false
}

View File

@ -15,6 +15,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
abortOnError false
}