Simple-File-Manager/app/build.gradle

73 lines
2.0 KiB
Groovy
Raw Normal View History

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
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))
}
2016-07-12 22:07:49 +02:00
android {
2022-04-11 10:36:23 +02:00
compileSdkVersion 31
2016-07-12 22:07:49 +02:00
defaultConfig {
2018-11-04 23:51:42 +01:00
applicationId "com.simplemobiletools.filemanager.pro"
minSdkVersion 21
2022-04-11 10:36:23 +02:00
targetSdkVersion 31
2022-03-23 10:27:14 +01:00
versionCode 116
versionName "6.12.0"
2018-10-04 14:06:20 +02:00
multiDexEnabled true
setProperty("archivesBaseName", "file-manager")
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']
}
}
2016-08-02 21:54:25 +02:00
}
2016-07-12 22:07:49 +02:00
buildTypes {
debug {
applicationIdSuffix ".debug"
}
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'
if (keystorePropertiesFile.exists()) {
signingConfig signingConfigs.release
}
2016-07-12 22:07:49 +02:00
}
}
2022-02-05 12:17:21 +01:00
flavorDimensions "variants"
productFlavors {
core {}
fdroid {}
}
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 {
2022-04-11 10:49:44 +02:00
implementation 'com.github.SimpleMobileTools:Simple-Commons:e3376e4f56'
implementation 'com.github.Stericson:RootTools:df729dcb13'
2019-05-03 10:05:36 +02:00
implementation 'com.github.Stericson:RootShell:1.6'
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
}