README: note JCenter addition
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
692b71af23
commit
ee263ba68e
17
README.md
17
README.md
@ -11,3 +11,20 @@ $ git clone --recurse-submodules https://git.zx2c4.com/wireguard-android
|
|||||||
$ cd wireguard-android
|
$ cd wireguard-android
|
||||||
$ ./gradlew assembleRelease
|
$ ./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
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user