gradle: move JVM target up to 11
1.8 is being deprecated across the board Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
bed2f2e5d6
commit
1b5f4d6dfd
@ -10,8 +10,8 @@ plugins {
|
||||
android {
|
||||
compileSdk = 33
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
namespace = "com.wireguard.android.tunnel"
|
||||
defaultConfig {
|
||||
|
@ -25,8 +25,8 @@ android {
|
||||
buildConfigField("int", "MIN_SDK_VERSION", minSdk.toString())
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
}
|
||||
buildTypes {
|
||||
@ -78,5 +78,5 @@ tasks.withType<JavaCompile>().configureEach {
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
|
||||
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user