SetAsWallpaper/app/build.gradle
Michel Roux bc18fc85fe
All checks were successful
apk / build (push) Successful in 7m36s
chore: 🔖 update version and fix java compatibility version
2024-07-09 16:14:29 +02: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
}
}
}
}