Simple-File-Manager/app/build.gradle

66 lines
1.8 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 29
buildToolsVersion "29.0.2"
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 29
2020-01-29 20:41:59 +00:00
versionCode 84
versionName "6.5.0"
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
}
}
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 {
2020-01-29 19:28:04 +00:00
implementation 'com.simplemobiletools:commons:5.21.28'
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'
2016-09-07 21:53:43 +00:00
}