Go to file
Jason A. Donenfeld cd43444d1f gradle: downgrade to 6.2.1 to deal with f-droid organizational mismanagement
The fdroidserver repo hardcodes hashes of all gradle versions that are
allowed to be used. This is currently up to date, having 6.3. However,
the f-droid build server is not up to date, because it is controlled by
the founder of f-droid, who is generally unavailable and does not update
it. Meanwhile other members of the project would like to stand up their
own build server instance, but this seems potentially arduous and
there's still the question of the signing key. At least that's the story
I was able to glean from asking around.

So, in order to work around this organizational brokeness, we just
downgrade to 6.2.1.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-04-01 23:43:24 -06:00
.idea codestyle: Require atleast 10 references before using star imports 2020-03-19 09:24:48 +05:30
gradle/wrapper gradle: downgrade to 6.2.1 to deal with f-droid organizational mismanagement 2020-04-01 23:43:24 -06:00
tunnel tunnel: libwg-go: remove -x option from flock 2020-04-01 22:05:24 -06:00
ui ObservableTunnel: do not cache key 2020-04-01 22:05:24 -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 build: update fragment to 1.2.4 2020-04-01 22:05:24 -06:00
COPYING global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
gradle.properties build: Improve R8 rules and enable aggressive optimization modes 2020-03-29 10:52:54 +05:30
gradlew Update Gradle to 6.0.1 2019-12-15 11:07:59 +05:30
README.md tunnel: libwg-go: remove -x option from flock 2020-04-01 22:05:24 -06:00
settings.gradle Rename app module to ui 2020-03-09 19:24:27 +05:30
version.gradle version: bump 2020-03-30 14:14:54 -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

macOS users may need flock(1).

Embedding

The tunnel library is on JCenter, alongside extensive class library documentation.

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
}

Translating

Please help us translate the app into several languages on our translation platform.