SetAsWallpaper/app/build.gradle
Michel Roux 84b4cd8d8e
All checks were successful
apk / build (push) Successful in 1m11s
chore: 🔖 update version
2025-02-08 15:23:54 +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 = 13
versionName = "3.6"
}
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
}
}
}
}