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 {
|
2022-08-20 17:47:59 +00:00
|
|
|
compileSdkVersion 33
|
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
|
2022-08-20 17:47:59 +00:00
|
|
|
targetSdkVersion 33
|
2022-10-10 21:39:03 +00:00
|
|
|
versionCode 127
|
|
|
|
versionName "6.14.2"
|
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
|
|
|
|
2022-02-05 11:17:21 +00:00
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
|
|
|
core {}
|
|
|
|
fdroid {}
|
2022-04-19 09:56:06 +00:00
|
|
|
prepaid {}
|
2022-02-05 11:17:21 +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 {
|
2022-10-10 15:14:54 +00:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:2e9ca234a7'
|
2022-05-18 13:42:10 +00:00
|
|
|
implementation 'com.github.tibbi:AndroidPdfViewer:da57ff410e'
|
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'
|
2020-09-16 17:31:18 +00:00
|
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2022-06-27 08:03:18 +00:00
|
|
|
implementation 'me.grantland:autofittextview:0.2.1'
|
2016-09-07 21:53:43 +00:00
|
|
|
}
|