SetAsWallpaper/app/build.gradle
Michel Roux cf078c5981
All checks were successful
apk / build (push) Successful in 1m13s
fix: 🐛 fix gradle deprecation warnings
2025-02-08 15:16:06 +01:00

37 lines
1.0 KiB
Groovy

apply plugin: 'com.android.application'
android {
namespace = 'net.crystalyx.setaswallpaper'
compileSdk = 34
defaultConfig {
applicationId = "net.crystalyx.setaswallpaper"
minSdkVersion = 5
targetSdkVersion = 34
versionCode = 12
versionName = "3.5"
}
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
}
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildTypes {
release {
minifyEnabled = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (System.env.STORE_FILE) {
signingConfig = signingConfigs.release
}
}
}
}