2016-07-12 20:07:49 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2016-09-07 21:53:43 +00:00
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2016-07-12 20:07:49 +00:00
|
|
|
|
2018-11-04 23:06:53 +00:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
2019-12-19 20:56:17 +00:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
2018-11-04 23:06:53 +00:00
|
|
|
|
2016-07-12 20:07:49 +00:00
|
|
|
android {
|
2020-01-29 20:24:53 +00:00
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.2"
|
2016-07-12 20:07:49 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-11-04 22:51:42 +00:00
|
|
|
applicationId "com.simplemobiletools.filemanager.pro"
|
2018-10-11 09:23:29 +00:00
|
|
|
minSdkVersion 21
|
2020-01-29 20:24:53 +00:00
|
|
|
targetSdkVersion 29
|
2020-01-29 20:41:59 +00:00
|
|
|
versionCode 84
|
|
|
|
versionName "6.5.0"
|
2018-10-04 12:06:20 +00:00
|
|
|
multiDexEnabled true
|
2017-11-10 15:14:11 +00:00
|
|
|
setProperty("archivesBaseName", "file-manager")
|
2019-08-09 10:15:06 +00:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2016-07-12 20:07:49 +00:00
|
|
|
}
|
2016-08-02 19:54:25 +00:00
|
|
|
|
|
|
|
signingConfigs {
|
2019-12-19 20:56:17 +00:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
2018-11-04 23:06:53 +00:00
|
|
|
}
|
2016-08-02 19:54:25 +00:00
|
|
|
}
|
|
|
|
|
2016-07-12 20:07:49 +00:00
|
|
|
buildTypes {
|
2018-01-30 21:01:35 +00:00
|
|
|
debug {
|
2018-10-09 21:09:52 +00:00
|
|
|
applicationIdSuffix ".debug"
|
2018-01-30 21:01:35 +00:00
|
|
|
}
|
2016-07-12 20:07:49 +00:00
|
|
|
release {
|
2016-08-02 20:38:56 +00:00
|
|
|
minifyEnabled true
|
2016-07-12 20:07:49 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2019-12-22 21:57:44 +00:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2016-07-12 20:07:49 +00:00
|
|
|
}
|
|
|
|
}
|
2016-10-10 18:47:00 +00:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
2017-08-07 20:30:47 +00:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2016-07-12 20:07:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-01-29 19:28:04 +00:00
|
|
|
implementation 'com.simplemobiletools:commons:5.21.28'
|
2018-12-27 17:26:53 +00:00
|
|
|
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
2019-05-03 08:05:36 +00:00
|
|
|
implementation 'com.github.Stericson:RootShell:1.6'
|
2019-01-26 15:58:02 +00:00
|
|
|
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
2016-09-07 21:53:43 +00:00
|
|
|
}
|