SetAsWallpaper/app/build.gradle

37 lines
1.0 KiB
Groovy
Raw Permalink Normal View History

apply plugin: 'com.android.application'
2021-08-08 22:58:08 +02:00
android {
namespace = 'net.crystalyx.setaswallpaper'
compileSdk = 34
2021-08-08 22:58:08 +02:00
defaultConfig {
applicationId = "net.crystalyx.setaswallpaper"
minSdkVersion = 5
targetSdkVersion = 34
versionCode = 12
versionName = "3.5"
2021-08-08 22:58:08 +02:00
}
signingConfigs {
2021-08-08 22:58:08 +02:00
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
}
2021-08-08 22:58:08 +02:00
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
2023-06-27 13:05:06 +02:00
buildTypes {
release {
minifyEnabled = true
2023-06-27 13:05:06 +02:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (System.env.STORE_FILE) {
signingConfig = signingConfigs.release
2023-06-27 13:05:06 +02:00
}
}
}
2023-03-22 11:13:10 +01:00
}