fix: 🐛 fix gradle deprecation warnings
All checks were successful
apk / build (push) Successful in 1m13s

This commit is contained in:
Michel Roux 2025-02-08 15:16:06 +01:00
parent 221e25a625
commit cf078c5981

View File

@ -1,22 +1,22 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
namespace 'net.crystalyx.setaswallpaper' namespace = 'net.crystalyx.setaswallpaper'
compileSdk 34 compileSdk = 34
defaultConfig { defaultConfig {
applicationId "net.crystalyx.setaswallpaper" applicationId = "net.crystalyx.setaswallpaper"
minSdkVersion 5 minSdkVersion = 5
targetSdkVersion 34 targetSdkVersion = 34
versionCode 12 versionCode = 12
versionName "3.5" versionName = "3.5"
} }
signingConfigs { signingConfigs {
release { release {
if (System.env.STORE_FILE) { if (System.env.STORE_FILE) {
storeFile file(System.env.STORE_FILE) storeFile = file(System.env.STORE_FILE)
storePassword System.env.STORE_PASSWORD storePassword = System.env.STORE_PASSWORD
keyAlias System.env.KEY_ALIAS keyAlias = System.env.KEY_ALIAS
keyPassword System.env.KEY_PASSWORD keyPassword = System.env.KEY_PASSWORD
} }
} }
} }
@ -26,10 +26,10 @@ android {
} }
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (System.env.STORE_FILE) { if (System.env.STORE_FILE) {
signingConfig signingConfigs.release signingConfig = signingConfigs.release
} }
} }
} }