|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 27
|
|
|
|
buildToolsVersion "27.0.3"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
applicationId "gr.thmmy.mthmmy"
|
|
|
|
minSdkVersion 19
|
|
|
|
targetSdkVersion 27
|
|
|
|
versionCode 11
|
|
|
|
versionName "1.3.3"
|
|
|
|
archivesBaseName = "mTHMMY-v$versionName"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
def date = new Date().format('ddMMyy_HHmmss')
|
|
|
|
archivesBaseName = archivesBaseName + "-$date"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'com.android.support:appcompat-v7:27.1.0'
|
|
|
|
implementation 'com.android.support:design:27.1.0'
|
|
|
|
implementation 'com.android.support:support-v4:27.1.0'
|
|
|
|
implementation 'com.android.support:cardview-v7:27.1.0'
|
|
|
|
implementation 'com.android.support:recyclerview-v7:27.1.0'
|
|
|
|
implementation 'com.google.firebase:firebase-crash:11.8.0'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
|
|
|
|
implementation 'com.squareup.picasso:picasso:2.5.2'
|
|
|
|
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0'
|
|
|
|
implementation 'org.jsoup:jsoup:1.10.3'
|
|
|
|
implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1'
|
|
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.2'
|
|
|
|
implementation("com.mikepenz:materialdrawer:6.0.1@aar") {
|
|
|
|
transitive = true
|
|
|
|
}
|
|
|
|
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar'
|
|
|
|
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'
|
|
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
|
|
|
|
implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' //TODO: Deprecated - needs replacement!
|
|
|
|
implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2'
|
|
|
|
implementation 'com.jakewharton.timber:timber:4.6.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Release")){
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
|
}
|