2021-08-08 20:58:08 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2023-03-22 10:13:10 +00:00
|
|
|
compileSdkVersion 33
|
2022-09-16 14:46:41 +00:00
|
|
|
namespace "net.crystalyx.setaswallpaper"
|
2021-08-08 20:58:08 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "net.crystalyx.setaswallpaper"
|
2022-10-26 13:33:26 +00:00
|
|
|
minSdk 5
|
2023-03-22 10:13:10 +00:00
|
|
|
targetSdkVersion 33
|
|
|
|
versionCode 10
|
|
|
|
versionName "3.3"
|
2021-08-08 20:58:08 +00:00
|
|
|
}
|
|
|
|
|
2022-09-16 14:29:42 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-08 20:58:08 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
2022-09-19 18:01:08 +00:00
|
|
|
if (System.env.STORE_FILE) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2021-08-08 20:58:08 +00:00
|
|
|
}
|
|
|
|
}
|
2021-08-08 23:06:53 +00:00
|
|
|
|
2021-08-08 20:58:08 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
2023-03-22 10:13:10 +00:00
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.deprecation = true
|
|
|
|
}
|