Simple-Camera/app/build.gradle

60 lines
1.5 KiB
Groovy
Raw Normal View History

2016-04-12 22:35:40 +02:00
apply plugin: 'com.android.application'
2016-10-30 22:59:00 +01:00
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2016-04-12 22:35:40 +02:00
2019-04-07 23:13:24 +02:00
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
2019-04-07 23:13:24 +02:00
2016-04-12 22:35:40 +02:00
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
2016-04-12 22:35:40 +02:00
defaultConfig {
applicationId "com.simplemobiletools.camera"
minSdkVersion 21
targetSdkVersion 28
2019-10-28 23:29:19 +01:00
versionCode 68
versionName "5.1.1"
setProperty("archivesBaseName", "camera")
2019-09-02 22:27:57 +02:00
vectorDrawables.useSupportLibrary = true
2016-04-12 22:35:40 +02:00
}
2016-04-25 23:17:45 +02:00
signingConfigs {
if (keystorePropertiesFile.exists()) {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
2019-04-07 23:13:24 +02:00
}
2016-04-25 23:17:45 +02:00
}
2016-04-12 22:35:40 +02:00
buildTypes {
debug {
2018-10-17 22:59:20 +02:00
applicationIdSuffix ".debug"
}
2016-04-12 22:35:40 +02:00
release {
2016-04-25 23:17:45 +02:00
minifyEnabled true
2016-04-12 22:35:40 +02:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2016-04-25 23:17:45 +02:00
signingConfig signingConfigs.release
2016-04-12 22:35:40 +02:00
}
}
2016-10-30 22:25:13 +01:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
2017-09-20 23:18:20 +02:00
lintOptions {
checkReleaseBuilds false
abortOnError false
}
2016-04-12 22:35:40 +02:00
}
dependencies {
2019-10-28 23:28:48 +01:00
implementation 'com.simplemobiletools:commons:5.18.15'
2016-04-12 22:35:40 +02:00
}