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