2020-03-28 17:35:01 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
2020-03-30 21:28:12 +02:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
|
|
|
|
2020-03-28 17:35:01 +01:00
|
|
|
android {
|
2020-08-23 23:32:05 +02:00
|
|
|
compileSdkVersion 30
|
2020-03-28 17:35:01 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.voicerecorder"
|
|
|
|
minSdkVersion 21
|
2020-08-23 23:32:05 +02:00
|
|
|
targetSdkVersion 30
|
2021-04-19 22:16:32 +02:00
|
|
|
versionCode 13
|
|
|
|
versionName "5.5.1"
|
2020-03-28 17:35:01 +01:00
|
|
|
setProperty("archivesBaseName", "voice-recorder")
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
}
|
|
|
|
|
2020-03-30 21:28:12 +02:00
|
|
|
signingConfigs {
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-28 17:35:01 +01:00
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
}
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2020-03-30 21:28:12 +02:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2020-03-28 17:35:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-10-19 23:19:14 +02:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:f1ba19dcc0'
|
2020-03-30 13:12:25 +02:00
|
|
|
implementation 'org.greenrobot:eventbus:3.2.0'
|
2020-03-30 19:43:45 +02:00
|
|
|
implementation 'com.github.Armen101:AudioRecordView:1.0.2'
|
2020-08-23 23:32:05 +02:00
|
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2021-10-17 17:13:32 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
|
2020-03-28 17:35:01 +01:00
|
|
|
}
|