|
@ -1,5 +1,9 @@ |
|
|
apply plugin: 'com.android.application' |
|
|
apply plugin: 'com.android.application' |
|
|
|
|
|
|
|
|
|
|
|
if (buildInRelease()){ |
|
|
|
|
|
apply plugin: 'io.fabric' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
android { |
|
|
android { |
|
|
compileSdkVersion 27 |
|
|
compileSdkVersion 27 |
|
|
buildToolsVersion "27.0.3" |
|
|
buildToolsVersion "27.0.3" |
|
@ -33,11 +37,12 @@ dependencies { |
|
|
implementation 'com.android.support:support-v4:27.1.1' |
|
|
implementation 'com.android.support:support-v4:27.1.1' |
|
|
implementation 'com.android.support:cardview-v7:27.1.1' |
|
|
implementation 'com.android.support:cardview-v7:27.1.1' |
|
|
implementation 'com.android.support:recyclerview-v7:27.1.1' |
|
|
implementation 'com.android.support:recyclerview-v7:27.1.1' |
|
|
implementation 'com.google.firebase:firebase-crash:12.0.1' |
|
|
implementation 'com.google.firebase:firebase-core:15.0.0' |
|
|
|
|
|
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.1' |
|
|
implementation 'com.squareup.okhttp3:okhttp:3.10.0' |
|
|
implementation 'com.squareup.okhttp3:okhttp:3.10.0' |
|
|
implementation 'com.squareup.picasso:picasso:2.5.2' |
|
|
implementation 'com.squareup.picasso:picasso:2.5.2' |
|
|
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0' |
|
|
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0' |
|
|
implementation 'org.jsoup:jsoup:1.10.3' //Warning: upgrading from 1.10.3 will break stuff! |
|
|
implementation 'org.jsoup:jsoup:1.10.3' //TODO: Warning: upgrading from 1.10.3 will break stuff! |
|
|
implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1' |
|
|
implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1' |
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3' |
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3' |
|
|
implementation("com.mikepenz:materialdrawer:6.0.7@aar") { |
|
|
implementation("com.mikepenz:materialdrawer:6.0.7@aar") { |
|
@ -46,11 +51,15 @@ dependencies { |
|
|
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar' |
|
|
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar' |
|
|
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar' |
|
|
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar' |
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12' |
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12' |
|
|
implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' //TODO: Deprecated - needs replacement! |
|
|
implementation 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1' //TODO: needs replacement |
|
|
implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2' |
|
|
implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2' |
|
|
implementation 'com.jakewharton.timber:timber:4.7.0' |
|
|
implementation 'com.jakewharton.timber:timber:4.7.0' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Release")){ |
|
|
if (buildInRelease()){ |
|
|
apply plugin: 'com.google.gms.google-services' |
|
|
apply plugin: 'com.google.gms.google-services' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
def buildInRelease() { |
|
|
|
|
|
return getGradle().getStartParameter().getTaskRequests().toString().contains("Release") |
|
|
|
|
|
} |
|
|