Skip to content

Commit

Permalink
Upgrade dependencies, disable Crashlytics on debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DSteve595 committed Dec 28, 2018
1 parent 17d8094 commit 3cc4810
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ android {
buildTypes {
debug {
versionNameSuffix "-debug"
manifestPlaceholders = [crashlyticsEnabled:false]
}
release {
manifestPlaceholders = [crashlyticsEnabled:true]
}
}
lintOptions {
Expand Down Expand Up @@ -71,7 +75,7 @@ dependencies {
implementation 'com.google.firebase:firebase-core:16.0.6'
def playServicesVersion = "16.1.2"
implementation "com.google.android.gms:play-services-cast-framework:$playServicesVersion"
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.7'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'
implementation 'com.jakewharton.timber:timber:4.7.0'
implementation 'commons-io:commons-io:2.6'
implementation 'net.danlew:android.joda:2.9.9.4'
Expand All @@ -97,7 +101,7 @@ dependencies {
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.google.android.exoplayer:exoplayer:2.8.1'
implementation 'com.google.android.exoplayer:exoplayer:2.9.3'
def roomVersion = '2.0.0'
implementation "androidx.room:room-runtime:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
android:value="com.stevenschoen.putionew.cast.CastOptionsProvider"
/>

<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="${crashlyticsEnabled}"
/>

<activity
android:name=".PutioActivity"
android:label="@string/putio"
Expand Down

0 comments on commit 3cc4810

Please sign in to comment.