Simple-File-Manager/app/build.gradle

76 lines
2.2 KiB
Groovy
Raw Normal View History

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
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))
}
2016-07-12 20:07:49 +00:00
android {
2022-04-11 08:36:23 +00:00
compileSdkVersion 31
2016-07-12 20:07:49 +00:00
defaultConfig {
2018-11-04 22:51:42 +00:00
applicationId "com.simplemobiletools.filemanager.pro"
minSdkVersion 21
2022-04-11 08:36:23 +00:00
targetSdkVersion 31
2022-07-03 10:23:36 +00:00
versionCode 123
versionName "6.12.6"
2018-10-04 12:06:20 +00:00
multiDexEnabled true
setProperty("archivesBaseName", "file-manager")
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']
}
}
2016-08-02 19:54:25 +00:00
}
2016-07-12 20:07:49 +00:00
buildTypes {
debug {
applicationIdSuffix ".debug"
}
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'
if (keystorePropertiesFile.exists()) {
signingConfig signingConfigs.release
}
2016-07-12 20:07:49 +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
}
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 {
implementation 'com.github.SimpleMobileTools:Simple-Commons:7f3e880dc5'
2022-05-18 13:42:10 +00:00
implementation 'com.github.tibbi:AndroidPdfViewer:da57ff410e'
implementation 'com.github.Stericson:RootTools:df729dcb13'
2019-05-03 08:05:36 +00:00
implementation 'com.github.Stericson:RootShell:1.6'
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
}