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 group groupName
android { android {
compileSdkVersion 29 compileSdkVersion 30
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 30
versionCode wireguardVersionCode versionCode wireguardVersionCode
versionName wireguardVersionName versionName wireguardVersionName
} }

View File

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