diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-09-27 06:29:25 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-09-27 08:45:46 +0530 |
commit | 1701e4fde4d167d0812f55460c6b4c6e534ea627 (patch) | |
tree | 6af92016fd803c0bb11527d623f149311655dec8 /README.md | |
parent | f6d175b774bba3a18f1c5ea3f071bfbc40b5397c (diff) |
README: link to Android desugaring docs
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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 |