Go to file
Jason A. Donenfeld 87c9efce4a TunnelListFragment: catch all parsing exceptions
Otherwise we crash if weird things happen.

Reported-by: Luis Ressel <aranea@aixah.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-19 13:05:53 -06:00
.idea codestyle: Require atleast 10 references before using star imports 2020-03-19 09:24:48 +05:30
gradle/wrapper Upgrade to Gradle 6.2.2 2020-03-10 12:45:06 +05:30
tunnel InetEndpoint: return proper parser exception 2020-03-19 13:04:31 -06:00
ui TunnelListFragment: catch all parsing exceptions 2020-03-19 13:05:53 -06:00
.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
}