Go to file
Harsh Shandilya 093139bc91 tunnel: Add an initial set of unit tests
Includes a control set of broken configuration files that we attempt to parse and
verify that the parser fails in a predictable and consistent manner.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-14 10:32:12 +05:30
.idea tunnel: Add an initial set of unit tests 2020-03-14 10:32:12 +05:30
gradle/wrapper Upgrade to Gradle 6.2.2 2020-03-10 12:45:06 +05:30
tunnel tunnel: Add an initial set of unit tests 2020-03-14 10:32:12 +05:30
ui tunnel: Remove MISSING_VALUE from BadConfigException reasons 2020-03-14 10:25:57 +05:30
.gitignore global: get rid of nonnull gradle hack 2020-03-09 12:19:15 -06:00
.gitmodules Migrate tunnel related classes to tunnel/ Gradle module 2020-03-09 19:24:26 +05:30
build.gradle tunnel: Add an initial set of unit tests 2020-03-14 10:32:12 +05:30
COPYING global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
gradle.properties Migrate to AndroidX 2018-12-18 16:54:54 +01:00
gradlew Update Gradle to 6.0.1 2019-12-15 11:07:59 +05:30
README.md README: note JCenter addition 2020-03-10 11:49:04 -06:00
settings.gradle Rename app module to ui 2020-03-09 19:24:27 +05:30
version.gradle build: apply version to both modules 2020-03-09 21:54:27 -06:00

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone --recurse-submodules https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ ./gradlew assembleRelease

Embedding

The tunnel library is on JCenter:

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
}