Adding compileOptions Java 1.8 to build.gradle
This commit is contained in:
parent
b5c25777bd
commit
300f28335f
@ -8,6 +8,11 @@ android {
|
|||||||
compileSdkVersion safeExtGet('compileSdkVersion', 27)
|
compileSdkVersion safeExtGet('compileSdkVersion', 27)
|
||||||
buildToolsVersion safeExtGet('buildToolsVersion', '27.0.3')
|
buildToolsVersion safeExtGet('buildToolsVersion', '27.0.3')
|
||||||
|
|
||||||
|
compileOptions {
|
||||||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion safeExtGet('minSdkVersion', 16)
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
||||||
targetSdkVersion safeExtGet('targetSdkVersion', 27)
|
targetSdkVersion safeExtGet('targetSdkVersion', 27)
|
||||||
|
Loading…
Reference in New Issue
Block a user