Skip to content

Commit

Permalink
added tweaks for firebase integration and cleared some build warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
sastry17 committed Jun 24, 2020
1 parent c75c204 commit 119d3f6
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
classpath 'com.google.gms:google-services:4.3.3' //added gms support
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'

}
}
apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'com.google.firebase.crashlytics'

allprojects {
repositories {
Expand Down
40 changes: 40 additions & 0 deletions google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"project_info": {
"project_number": "283609891050",
"firebase_url": "https://hostage-4f7c7.firebaseio.com",
"project_id": "hostage-4f7c7",
"storage_bucket": "hostage-4f7c7.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:283609891050:android:c9df120509b30ca36e9793",
"android_client_info": {
"package_name": "de.tudarmstadt.informatik.hostage"
}
},
"oauth_client": [
{
"client_id": "283609891050-36dl28rq07gt758o64dotvfceotf9deg.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyD0RyNSaOfTPFui8xfnibzPI8qt0bklFXQ"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "283609891050-36dl28rq07gt758o64dotvfceotf9deg.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
android.useAndroidX=true
android.enableJetifier=true
android.enableUnitTestBinaryResources=true

This comment has been minimized.

Copy link
@irinil

irinil Jun 29, 2020

Contributor

@sastry17 is there a reason for this line to be omitted?

This comment has been minimized.

Copy link
@sastry17

sastry17 Jun 29, 2020

Author Collaborator

Yes, for the newer android SDK's, Unit Test Binary is enabled by default. We do not have to specify it explicitly.

This comment has been minimized.

Copy link
@irinil

irinil Jun 29, 2020

Contributor

Yes, for the newer android SDK's, Unit Test Binary is enabled by default. We do not have to specify it explicitly.

Ok thank you!

#android.enableUnitTestBinaryResources=true
android.debug.obsoleteApi=true

0 comments on commit 119d3f6

Please sign in to comment.