apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' def keystorePropertiesFile = rootProject.file("keystore.properties") def keystoreProperties = new Properties() if (keystorePropertiesFile.exists()) { keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) } android { compileSdkVersion 30 defaultConfig { applicationId "com.simplemobiletools.voicerecorder" minSdkVersion 21 targetSdkVersion 30 versionCode 14 versionName "5.6.0" setProperty("archivesBaseName", "voice-recorder") vectorDrawables.useSupportLibrary = true } signingConfigs { if (keystorePropertiesFile.exists()) { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile file(keystoreProperties['storeFile']) storePassword keystoreProperties['storePassword'] } } } buildTypes { debug { applicationIdSuffix ".debug" } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' if (keystorePropertiesFile.exists()) { signingConfig signingConfigs.release } } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } lintOptions { checkReleaseBuilds false abortOnError false } } dependencies { implementation 'com.github.SimpleMobileTools:Simple-Commons:3d04cf87bd' implementation 'org.greenrobot:eventbus:3.2.0' implementation 'com.github.Armen101:AudioRecordView:1.0.2' implementation 'androidx.documentfile:documentfile:1.0.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.1' }