We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b37c0 commit 3a4bf35Copy full SHA for 3a4bf35
README.md
@@ -22,12 +22,16 @@ The tunnel library is [on JCenter](https://bintray.com/wireguard/wireguard-andro
22
implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion'
23
```
24
25
-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:
26
27
28
compileOptions {
29
sourceCompatibility JavaVersion.VERSION_1_8
30
targetCompatibility JavaVersion.VERSION_1_8
31
+ coreLibraryDesugaringEnabled = true
32
+}
33
+dependencies {
34
+ coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.0.10"
35
}
36
37
0 commit comments