45 lines
1.1 KiB
Groovy
45 lines
1.1 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 32
|
|
buildToolsVersion "30.0.3"
|
|
namespace "net.crystalyx.setaswallpaper"
|
|
|
|
defaultConfig {
|
|
applicationId "net.crystalyx.setaswallpaper"
|
|
minSdkVersion 5
|
|
//noinspection OldTargetApi
|
|
targetSdkVersion 32
|
|
versionCode 8
|
|
versionName "3.1"
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
if (System.env.STORE_FILE) {
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|