mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
up to java 11
This commit is contained in:
parent
07b28d7121
commit
fba167eb3d
@ -97,13 +97,13 @@ android {
|
||||
compileOptions {
|
||||
// Flag to enable support for the new language APIs
|
||||
coreLibraryDesugaringEnabled true
|
||||
// Sets Java compatibility to Java 8
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
// Sets Java compatibility to Java 11
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
jvmTarget = "11"
|
||||
}
|
||||
buildToolsVersion '30.0.3'
|
||||
tasks.withType(JavaCompile) {
|
||||
|
Loading…
Reference in New Issue
Block a user