From 4e28d57aeec36406be849f0017cdda508457b307 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 3 May 2023 14:01:05 +0200 Subject: gradle: use Java 17 It appears to work, even on API 21. Signed-off-by: Jason A. Donenfeld --- tunnel/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tunnel/build.gradle.kts') diff --git a/tunnel/build.gradle.kts b/tunnel/build.gradle.kts index 8aa79caa..f71d57c2 100644 --- a/tunnel/build.gradle.kts +++ b/tunnel/build.gradle.kts @@ -10,8 +10,8 @@ plugins { android { compileSdk = 33 compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } namespace = "com.wireguard.android.tunnel" defaultConfig { -- cgit v1.2.3