From 318f36a20550260042c3e5a21ba06331c5384f51 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 3 May 2023 14:23:54 +0200 Subject: [PATCH] README: account for java version updates Signed-off-by: Jason A. Donenfeld --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ff827538..eaffeee7 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,12 @@ The library makes use of Java 8 features, so be sure to support those in your gr ``` compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 coreLibraryDesugaringEnabled = true } dependencies { - coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5" + coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.3" } ```