build: Google Play requires target API level 31 or higher

Fix build failure from lint check

Signed-off-by: L.W.Reek <syphyr@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
L.W.Reek 2023-01-29 02:56:24 +01:00 committed by Jason A. Donenfeld
parent a26b7c594a
commit d1237e2718

View File

@ -22,7 +22,7 @@ android {
defaultConfig {
applicationId 'com.wireguard.android'
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
versionCode wireguardVersionCode
versionName wireguardVersionName
buildConfigField 'int', 'MIN_SDK_VERSION', "$minSdkVersion.apiLevel"