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 {
|
2022-08-29 10:04:30 +02:00
|
|
|
compileSdkVersion 33
|
2020-03-28 17:35:01 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.voicerecorder"
|
2022-12-27 16:31:49 +01:00
|
|
|
minSdkVersion 23
|
2022-08-29 10:04:30 +02:00
|
|
|
targetSdkVersion 33
|
2023-01-14 22:59:19 +01:00
|
|
|
versionCode 34
|
|
|
|
versionName "5.11.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 {
|
2022-02-10 22:13:55 +01:00
|
|
|
minifyEnabled true
|
2020-03-28 17:35:01 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-03 22:58:02 +01:00
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
2022-02-02 22:45:22 +01:00
|
|
|
core {}
|
2022-01-03 22:58:02 +01:00
|
|
|
fdroid {}
|
2022-07-02 15:03:16 +02:00
|
|
|
prepaid {}
|
2022-01-03 22:58:02 +01:00
|
|
|
}
|
|
|
|
|
2020-03-28 17:35:01 +01:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-01-14 21:53:27 +01:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:3aade6f350'
|
2022-05-20 21:46:24 +02:00
|
|
|
implementation 'org.greenrobot:eventbus:3.3.1'
|
2021-12-07 11:19:20 +01:00
|
|
|
implementation 'com.github.Armen101:AudioRecordView:1.0.4'
|
2020-08-23 23:32:05 +02:00
|
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2022-05-20 21:46:24 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2022-06-14 13:57:11 +02:00
|
|
|
implementation 'com.github.naman14:TAndroidLame:1.1'
|
2022-06-27 10:03:00 +02:00
|
|
|
implementation 'me.grantland:autofittextview:0.2.1'
|
2020-03-28 17:35:01 +01:00
|
|
|
}
|