|
|
@ -97,13 +97,13 @@ android { |
|
|
|
compileOptions { |
|
|
|
compileOptions { |
|
|
|
// Flag to enable support for the new language APIs |
|
|
|
// Flag to enable support for the new language APIs |
|
|
|
coreLibraryDesugaringEnabled true |
|
|
|
coreLibraryDesugaringEnabled true |
|
|
|
// Sets Java compatibility to Java 8 |
|
|
|
// Sets Java compatibility to Java 11 |
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8 |
|
|
|
sourceCompatibility JavaVersion.VERSION_11 |
|
|
|
targetCompatibility JavaVersion.VERSION_1_8 |
|
|
|
targetCompatibility JavaVersion.VERSION_11 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
kotlinOptions { |
|
|
|
kotlinOptions { |
|
|
|
jvmTarget = "1.8" |
|
|
|
jvmTarget = "11" |
|
|
|
} |
|
|
|
} |
|
|
|
buildToolsVersion '30.0.3' |
|
|
|
buildToolsVersion '30.0.3' |
|
|
|
tasks.withType(JavaCompile) { |
|
|
|
tasks.withType(JavaCompile) { |
|
|
|