diff options
author | 2020-10-08 14:58:52 +0200 | |
---|---|---|
committer | 2020-10-08 15:03:49 +0200 | |
commit | 3a4bf35c77d3725c98af22aa00502686c69597d5 (patch) | |
tree | d87af90f5fff5605836f90f2aaaf75ae4e9283cc /README.md | |
parent | build: update AGP and ConstraintLayout (diff) | |
download | wireguard-android-3a4bf35c77d3725c98af22aa00502686c69597d5.tar.xz wireguard-android-3a4bf35c77d3725c98af22aa00502686c69597d5.zip |
README: mention desugaring
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,12 +22,16 @@ The tunnel library is [on JCenter](https://bintray.com/wireguard/wireguard-andro implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion' ``` -The library makes use of Java 8 features, so be sure to support those in your gradle configuration: +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.0.10" } ``` |