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 {
compileSdkVersion 33
2016-07-12 20:07:49 +00:00
defaultConfig {
2018-11-04 22:51:42 +00:00
applicationId "com.simplemobiletools.filemanager.pro"
minSdkVersion 21
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
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 {
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'
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
}