From 1701e4fde4d167d0812f55460c6b4c6e534ea627 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 27 Sep 2021 06:29:25 +0530 Subject: README: link to Android desugaring docs Signed-off-by: Harsh Shandilya --- README.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index 5b84557c..866237f2 100644 --- a/README.md +++ b/README.md @@ -22,18 +22,7 @@ The tunnel library is [on Maven Central](https://search.maven.org/artifact/com.w implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion' ``` -The library makes use of Java 8 features, so be sure to support those in your gradle configuration with desugaring: - -``` -compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - coreLibraryDesugaringEnabled = true -} -dependencies { - coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5" -} -``` +The library makes use of Java 8 features, so be sure to support those in your gradle configuration with [desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) ## Translating -- cgit v1.2.3