summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-10 09:26:06 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-10 11:49:04 -0600
commit49d7c2453524a04436d58acaa9e567c78783e0a2 (patch)
tree8e92e3be64657500e9badd8c203ad460780b3c5c
parent4ce47476d9762ccc5c951be0770cd87bef86a461 (diff)
README: note JCenter addition
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4db9a33e..07e3fd26 100644
--- a/README.md
+++ b/README.md
@@ -11,3 +11,20 @@ $ git clone --recurse-submodules https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ ./gradlew assembleRelease
```
+
+## Embedding
+
+The tunnel library is [on JCenter](https://bintray.com/wireguard/wireguard-android/wireguard-android/_latestVersion):
+
+```
+implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion'
+```
+
+The library makes use of Java 8 features, so be sure to support those in your gradle configuration:
+
+```
+compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+}
+```