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