2023-06-27 12:59:31 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2021-08-08 22:58:08 +02:00
|
|
|
|
|
|
|
android {
|
2025-02-08 15:16:06 +01:00
|
|
|
namespace = 'net.crystalyx.setaswallpaper'
|
|
|
|
compileSdk = 34
|
2021-08-08 22:58:08 +02:00
|
|
|
defaultConfig {
|
2025-02-08 15:16:06 +01:00
|
|
|
applicationId = "net.crystalyx.setaswallpaper"
|
|
|
|
minSdkVersion = 5
|
|
|
|
targetSdkVersion = 34
|
|
|
|
versionCode = 12
|
|
|
|
versionName = "3.5"
|
2021-08-08 22:58:08 +02:00
|
|
|
}
|
2023-06-27 12:59:31 +02:00
|
|
|
signingConfigs {
|
2021-08-08 22:58:08 +02:00
|
|
|
release {
|
2022-09-19 20:01:08 +02:00
|
|
|
if (System.env.STORE_FILE) {
|
2025-02-08 15:16:06 +01:00
|
|
|
storeFile = file(System.env.STORE_FILE)
|
|
|
|
storePassword = System.env.STORE_PASSWORD
|
|
|
|
keyAlias = System.env.KEY_ALIAS
|
|
|
|
keyPassword = System.env.KEY_PASSWORD
|
2022-09-19 20:01:08 +02:00
|
|
|
}
|
2021-08-08 22:58:08 +02:00
|
|
|
}
|
|
|
|
}
|
2024-07-09 16:14:29 +02:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
}
|
2023-06-27 13:05:06 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2025-02-08 15:16:06 +01:00
|
|
|
minifyEnabled = true
|
2023-06-27 13:05:06 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
if (System.env.STORE_FILE) {
|
2025-02-08 15:16:06 +01:00
|
|
|
signingConfig = signingConfigs.release
|
2023-06-27 13:05:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-22 11:13:10 +01:00
|
|
|
}
|