Skip to content

Commit

Permalink
s/fabric/firebase/g
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Jul 6, 2020
1 parent 923e168 commit f0838c6
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 27 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/build
/captures
.externalNativeBuild
/app/fabric.properties
*.blend[1-9]
/.idea/runConfigurations/CleverDrawer.xml
/.idea/runConfigurations/All_Tests.xml
Expand Down
30 changes: 4 additions & 26 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,9 @@
*
*/

buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}

dependencies {
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates

// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.31.1'
}
}

apply plugin: 'com.android.application'

apply plugin: 'com.android.application'

// Fabric / Crashlytics must come after the Android plugin
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

// During git hook execution some GIT_ variables are set which make our commands fail unless we
// strip those variables out
Expand Down Expand Up @@ -172,9 +151,8 @@ dependencies {
implementation 'org.jetbrains:annotations:17.0.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.9.3'

implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') {
transitive = true
}
implementation 'com.google.firebase:firebase-crashlytics:17.1.1'
implementation 'com.google.firebase:firebase-analytics:17.4.3'

testImplementation 'junit:junit:4.12'

Expand Down
40 changes: 40 additions & 0 deletions app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"project_info": {
"project_number": "1087247509835",
"firebase_url": "https://clever-drawer.firebaseio.com",
"project_id": "clever-drawer",
"storage_bucket": "clever-drawer.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:1087247509835:android:caf45cb7bb3bfc435260ce",
"android_client_info": {
"package_name": "com.gmail.walles.johan.cleverdrawer"
}
},
"oauth_client": [
{
"client_id": "1087247509835-lgcefaiar04ql5q9bacta0sr4e8api8j.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDAqT9G1PdbIX07KkJK3OOMf4tJpQeAUKI"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "1087247509835-lgcefaiar04ql5q9bacta0sr4e8api8j.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit f0838c6

Please sign in to comment.