SetAsWallpaper/app/build.gradle
Michel Roux a1260ae536
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Use SDK 33
2023-03-22 11:13:10 +01:00

47 lines
1.1 KiB
Groovy

plugins {
id 'com.android.application'
}
android {
compileSdkVersion 33
namespace "net.crystalyx.setaswallpaper"
defaultConfig {
applicationId "net.crystalyx.setaswallpaper"
minSdk 5
targetSdkVersion 33
versionCode 10
versionName "3.3"
}
signingConfigs {
release {
if (System.env.STORE_FILE) {
storeFile file(System.env.STORE_FILE)
storePassword System.env.STORE_PASSWORD
keyAlias System.env.KEY_ALIAS
keyPassword System.env.KEY_PASSWORD
}
}
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (System.env.STORE_FILE) {
signingConfig signingConfigs.release
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
tasks.withType(JavaCompile) {
options.deprecation = true
}