Updated libraries and switched from Crashlytics to Firebase
This commit is contained in:
parent
98d19458f0
commit
63c9f43580
4 changed files with 9 additions and 39 deletions
|
|
@ -1,23 +1,18 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
maven { url 'https://maven.fabric.io/public' }
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
//noinspection GradleDynamicVersion
|
||||
classpath 'io.fabric.tools:gradle:1.+'
|
||||
classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'io.fabric'
|
||||
apply plugin: 'com.jakewharton.hugo'
|
||||
apply plugin: 'com.github.triplet.play'
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
|
||||
repositories {
|
||||
maven { url 'https://maven.fabric.io/public' }
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
|
||||
|
|
@ -44,8 +39,6 @@ android {
|
|||
debug {
|
||||
applicationIdSuffix '.debug'
|
||||
versionNameSuffix ' DEBUG'
|
||||
|
||||
ext.enableCrashlytics = false // Disable fabric build ID generation for debug builds
|
||||
}
|
||||
}
|
||||
packagingOptions {
|
||||
|
|
@ -63,15 +56,11 @@ dependencies {
|
|||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
testCompile 'junit:junit:4.12'
|
||||
|
||||
compile('com.crashlytics.sdk.android:crashlytics:2.6.2@aar') {
|
||||
compile('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.4@aar') {
|
||||
transitive = true
|
||||
}
|
||||
|
||||
compile('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.0@aar') {
|
||||
transitive = true
|
||||
}
|
||||
|
||||
compile('com.github.kabouzeid:app-theme-helper:1.3.4') {
|
||||
compile('com.github.kabouzeid:app-theme-helper:1.3.5') {
|
||||
transitive = true
|
||||
}
|
||||
|
||||
|
|
@ -92,8 +81,8 @@ dependencies {
|
|||
compile 'com.android.support:preference-v7:25.3.0'
|
||||
compile 'com.android.support:preference-v14:25.3.0'
|
||||
|
||||
compile 'com.afollestad.material-dialogs:core:0.9.3.0@aar'
|
||||
compile 'com.afollestad.material-dialogs:commons:0.9.3.0@aar'
|
||||
compile 'com.afollestad.material-dialogs:core:0.9.4.2@aar'
|
||||
compile 'com.afollestad.material-dialogs:commons:0.9.4.2@aar'
|
||||
compile 'com.afollestad:material-cab:0.1.12@aar'
|
||||
|
||||
compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
|
||||
|
|
@ -111,6 +100,6 @@ dependencies {
|
|||
compile 'me.zhanghai.android.materialprogressbar:library:1.3.0'
|
||||
compile 'org.eclipse.mylyn.github:org.eclipse.egit.github.core:2.1.5'
|
||||
|
||||
compile 'com.jakewharton:butterknife:8.4.0'
|
||||
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
|
||||
compile 'com.jakewharton:butterknife:8.5.1'
|
||||
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,27 +2,9 @@ package com.kabouzeid.gramophone;
|
|||
|
||||
import android.app.Application;
|
||||
|
||||
import com.crashlytics.android.Crashlytics;
|
||||
import com.crashlytics.android.core.CrashlyticsCore;
|
||||
|
||||
import io.fabric.sdk.android.Fabric;
|
||||
|
||||
/**
|
||||
* @author Karim Abou Zeid (kabouzeid)
|
||||
*/
|
||||
public class App extends Application {
|
||||
public static final String TAG = App.class.getSimpleName();
|
||||
|
||||
public static final String GOOGLE_PLAY_LICENSE_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjMeADN5Ffnt/ml5SYxNPCn8kGcOYGpHEfNSCts99vVxqmCn6C01E94c17j7rUK2aeHur5uxphZylzopPlQ8P8l1fqty0GPUNRSo18FCJzfGH8HZAwZYOcnRFPaXdaq3InyFJhBiODh2oeAcVK/idH6QraQ4r9HIlzigAg6lgwzxl2wJKDh7X/GMdDntCyzDh8xDQ0wIawFgvgojHwqh2Ci8Gnq6EYRwPA9yHiIIksT8Q30QyM5ewl5QcnWepsls7enNqeHarhpmSibRUDgCsxHoOpny7SyuvZvUI3wuLckDR0ds9hrt614scHHqDOBp/qWCZiAgOPVAEQcURbV09qQIDAQAB";
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
// Set up Crashlytics, disabled for debug builds
|
||||
Crashlytics crashlyticsKit = new Crashlytics.Builder()
|
||||
.core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build())
|
||||
.build();
|
||||
Fabric.with(this, crashlyticsKit);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue