aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/build.gradle
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-28 18:27:45 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-28 18:27:45 +0200
commite29c21f8df78b0a855d1fd00fd70c1f429d49954 (patch)
tree56a0f84dd3641d2568909b390d3f6c08c3add01f /app/build.gradle
parentQuickTileService: fix bug the wrong way (diff)
downloadwireguard-android-e29c21f8df78b0a855d1fd00fd70c1f429d49954.tar.xz
wireguard-android-e29c21f8df78b0a855d1fd00fd70c1f429d49954.zip
Application: refuse to run on old android
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index f6b82820..da77da48 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -19,6 +19,7 @@ android {
targetSdkVersion 27
versionCode 437
versionName '0.0.20180725'
+ buildConfigField 'int', 'MIN_SDK_VERSION', "$minSdkVersion.apiLevel"
}
// If the keystore file exists
if (keystorePropertiesFile.exists()) {