Simple-Clock/app/build.gradle

58 lines
1.6 KiB
Groovy
Raw Normal View History

2018-02-28 00:02:08 +01:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
2018-02-28 00:02:08 +01:00
android {
2018-09-14 14:05:01 +02:00
compileSdkVersion 28
2019-01-24 21:47:36 +01:00
buildToolsVersion "28.0.3"
2018-02-28 00:02:08 +01:00
defaultConfig {
applicationId "com.simplemobiletools.clock"
2019-01-24 21:47:36 +01:00
minSdkVersion 21
2018-09-14 14:05:01 +02:00
targetSdkVersion 28
2019-01-24 22:12:02 +01:00
versionCode 11
versionName "5.0.0"
2018-02-28 00:02:08 +01:00
setProperty("archivesBaseName", "clock")
}
2018-02-28 10:38:05 +01:00
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
2018-02-28 10:38:05 +01:00
}
2018-02-28 00:02:08 +01:00
buildTypes {
debug {
applicationIdSuffix ".debug"
}
release {
2018-02-28 10:38:05 +01:00
minifyEnabled true
2018-02-28 00:02:08 +01:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2018-02-28 10:38:05 +01:00
signingConfig signingConfigs.release
2018-02-28 00:02:08 +01:00
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
}
dependencies {
2019-01-24 21:47:36 +01:00
implementation 'com.simplemobiletools:commons:5.6.16'
2018-03-03 23:51:58 +01:00
implementation 'com.facebook.stetho:stetho:1.5.0'
2019-01-24 21:47:36 +01:00
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
implementation 'com.shawnlin:number-picker:2.4.6'
2018-02-28 00:02:08 +01:00
}