Skip to content

Commit

Permalink
feat(deps): add crashlytics support
Browse files Browse the repository at this point in the history
  • Loading branch information
EdricChan03 committed Mar 25, 2018
1 parent 68dd882 commit f934736
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 42 deletions.
47 changes: 25 additions & 22 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: "com.android.application"
apply plugin: "io.fabric"

android {
compileSdkVersion 27
Expand All @@ -16,7 +17,7 @@ android {
buildTypes {
release {
minifyEnabled true // Enable minification
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
dataBinding {
Expand All @@ -26,33 +27,35 @@ android {

dependencies {
// Support Lib
implementation 'com.android.support:support-v4:27.1.0'
implementation "com.android.support:support-v4:27.1.0"
// Support Annotations
implementation 'com.android.support:support-annotations:27.1.0'
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
implementation "com.android.support:support-annotations:27.1.0"
implementation fileTree(dir: "libs", include: ["*.jar"])
androidTestImplementation("com.android.support.test.espresso:espresso-core:2.2.2", {
exclude group: "com.android.support", module: "support-annotations"
})
// AppCompat
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation "com.android.support:appcompat-v7:27.1.0"
// ConstraintLayout
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation "com.android.support.constraint:constraint-layout:1.0.2"
// Design Support
implementation 'com.android.support:design:27.1.0'
implementation "com.android.support:design:27.1.0"
// Card view
implementation 'com.android.support:cardview-v7:27.1.0'
implementation "com.android.support:cardview-v7:27.1.0"
// Chrome Custom Tabs
implementation 'com.android.support:customtabs:27.1.0'
testImplementation 'junit:junit:4.12'
implementation "com.android.support:customtabs:27.1.0"
testImplementation "junit:junit:4.12"
// Firebase stuff
implementation 'com.google.firebase:firebase-storage:12.0.0'
implementation 'com.google.firebase:firebase-firestore:12.0.0'
implementation 'com.google.firebase:firebase-auth:12.0.0'
implementation 'com.google.firebase:firebase-messaging:12.0.0'
implementation 'com.google.android.gms:play-services-auth:12.0.0'
implementation "com.google.firebase:firebase-storage:12.0.0"
implementation "com.google.firebase:firebase-firestore:12.0.0"
implementation "com.google.firebase:firebase-auth:12.0.0"
implementation "com.google.firebase:firebase-messaging:12.0.0"
implementation "com.google.android.gms:play-services-auth:12.0.0"
// Provide a way to update the app
implementation 'com.github.javiersantos:AppUpdater:2.6.5'
// The app's intro screen
implementation 'com.heinrichreimersoftware:material-intro:1.6.2'
implementation "com.github.javiersantos:AppUpdater:2.6.5"
// The app"s intro screen
implementation "com.heinrichreimersoftware:material-intro:1.6.2"
// Crashlytics
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.1'
}
apply plugin: 'com.google.gms.google-services'
apply plugin: "com.google.gms.google-services"
38 changes: 19 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0-alpha04'
classpath 'com.google.gms:google-services:3.1.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
repositories {
jcenter()
maven { url "https://maven.fabric.io/public" }
google()
}
dependencies {
classpath "com.android.tools.build:gradle:3.2.0-alpha07"
classpath "com.google.gms:google-services:3.2.0"
classpath 'io.fabric.tools:gradle:1.25.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
maven { url "https://jitpack.io" }
google()
}
repositories {
jcenter()
maven { url "https://maven.google.com" }
maven { url "https://jitpack.io" }
google()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':app'
include ":app"

0 comments on commit f934736

Please sign in to comment.