build: target SDK 30

We're all set to support it from the application side of things.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-08-25 21:17:05 +05:30
parent 840d65881e
commit 9985b9b08e
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
2 changed files with 4 additions and 4 deletions

View File

@ -4,14 +4,14 @@ version wireguardVersionName
group groupName
android {
compileSdkVersion 29
compileSdkVersion 30
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 21
targetSdkVersion 29
targetSdkVersion 30
versionCode wireguardVersionCode
versionName wireguardVersionName
}

View File

@ -10,13 +10,13 @@ group groupName
final def keystorePropertiesFile = rootProject.file("keystore.properties")
android {
compileSdkVersion 29
compileSdkVersion 30
buildFeatures.dataBinding = true
buildFeatures.viewBinding = true
defaultConfig {
applicationId 'com.wireguard.android'
minSdkVersion 21
targetSdkVersion 29
targetSdkVersion 30
versionCode wireguardVersionCode
versionName wireguardVersionName
buildConfigField 'int', 'MIN_SDK_VERSION', "$minSdkVersion.apiLevel"