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'
android {
namespace 'net.crystalyx.setaswallpaper'
compileSdk 34
namespace = 'net.crystalyx.setaswallpaper'
compileSdk = 34
defaultConfig {
applicationId "net.crystalyx.setaswallpaper"
minSdkVersion 5
targetSdkVersion 34
versionCode 12
versionName "3.5"
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
storeFile = file(System.env.STORE_FILE)
storePassword = System.env.STORE_PASSWORD
keyAlias = System.env.KEY_ALIAS
keyPassword = System.env.KEY_PASSWORD
}
}
}
@ -26,10 +26,10 @@ android {
}
buildTypes {
release {
minifyEnabled true
minifyEnabled = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (System.env.STORE_FILE) {
signingConfig signingConfigs.release
signingConfig = signingConfigs.release
}
}
}