Simple-Music-Player/app/build.gradle

73 lines
2.2 KiB
Groovy
Raw Normal View History

2016-01-10 12:26:04 +00:00
apply plugin: 'com.android.application'
2016-11-03 21:46:37 +00:00
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2018-05-18 10:12:55 +00:00
apply plugin: 'kotlin-kapt'
2016-01-10 12:26:04 +00:00
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
2016-01-10 12:26:04 +00:00
android {
2020-03-05 19:40:07 +00:00
compileSdkVersion 29
buildToolsVersion "29.0.3"
2016-01-10 12:26:04 +00:00
defaultConfig {
2016-02-25 20:58:06 +00:00
applicationId "com.simplemobiletools.musicplayer"
minSdkVersion 21
2020-03-05 19:40:07 +00:00
targetSdkVersion 29
2020-09-19 13:49:48 +00:00
versionCode 70
versionName "5.3.4"
2017-11-29 23:01:54 +00:00
setProperty("archivesBaseName", "music-player")
2019-08-15 21:13:08 +00:00
vectorDrawables.useSupportLibrary = true
2016-01-10 12:26:04 +00:00
}
2016-04-25 21:08:24 +00:00
signingConfigs {
if (keystorePropertiesFile.exists()) {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
2016-04-25 21:08:24 +00:00
}
2016-01-10 12:26:04 +00:00
buildTypes {
debug {
2018-05-21 18:49:48 +00:00
applicationIdSuffix ".debug"
}
2016-01-10 12:26:04 +00:00
release {
2016-04-25 21:08:24 +00:00
minifyEnabled true
2016-01-10 12:26:04 +00:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (keystorePropertiesFile.exists()) {
signingConfig signingConfigs.release
}
2016-01-10 12:26:04 +00:00
}
}
2016-11-03 21:46:37 +00:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
2017-09-20 20:16:36 +00:00
lintOptions {
checkReleaseBuilds false
abortOnError false
}
2016-01-10 12:26:04 +00:00
}
dependencies {
implementation 'com.simplemobiletools:commons:5.30.26'
2020-04-18 18:44:28 +00:00
implementation 'org.greenrobot:eventbus:3.2.0'
implementation 'com.squareup.picasso:picasso:2.71828'
2020-09-19 13:26:02 +00:00
implementation 'androidx.media:media:1.2.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'com.google.android.material:material:1.2.1'
2020-03-28 11:05:03 +00:00
kapt "androidx.room:room-compiler:2.2.5"
implementation "androidx.room:room-runtime:2.2.5"
annotationProcessor "androidx.room:room-compiler:2.2.5"
2016-01-10 12:26:04 +00:00
}