Rollback SDK and add deprecation warning
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Michel Roux 2022-09-19 20:01:08 +02:00
parent afd1479f84
commit 6fb22f722f
2 changed files with 10 additions and 3 deletions

View File

@ -3,14 +3,15 @@ plugins {
}
android {
compileSdkVersion 33
compileSdkVersion 32
buildToolsVersion "30.0.3"
namespace "net.crystalyx.setaswallpaper"
defaultConfig {
applicationId "net.crystalyx.setaswallpaper"
minSdkVersion 5
targetSdkVersion 33
//noinspection OldTargetApi
targetSdkVersion 32
versionCode 8
versionName "3.1"
}
@ -30,7 +31,9 @@ android {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
if (System.env.STORE_FILE) {
signingConfig signingConfigs.release
}
}
}

View File

@ -17,6 +17,10 @@ allprojects {
google()
mavenCentral()
}
tasks.withType(JavaCompile) {
options.deprecation = true
}
}
task clean(type: Delete) {