summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tunnel/build.gradle.kts4
-rw-r--r--ui/build.gradle.kts6
2 files changed, 5 insertions, 5 deletions
diff --git a/tunnel/build.gradle.kts b/tunnel/build.gradle.kts
index 1039923a..8aa79caa 100644
--- a/tunnel/build.gradle.kts
+++ b/tunnel/build.gradle.kts
@@ -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 {
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts
index 087c5d70..10968ec1 100644
--- a/ui/build.gradle.kts
+++ b/ui/build.gradle.kts
@@ -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()
}