Commit a61f005a authored by senith sulara's avatar senith sulara

add firebase dependencies

parent d93cb605
...@@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) { ...@@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) {
def flutterRoot = localProperties.getProperty('flutter.sdk') def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) { if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
} }
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
...@@ -23,6 +23,7 @@ if (flutterVersionName == null) { ...@@ -23,6 +23,7 @@ if (flutterVersionName == null) {
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'com.google.gms.google-services'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android { android {
...@@ -65,4 +66,5 @@ flutter { ...@@ -65,4 +66,5 @@ flutter {
dependencies { dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation platform('com.google.firebase:firebase-bom:31.0.2')
} }
{
"project_info": {
"project_number": "878287088918",
"project_id": "auditoryavatar-d806e",
"storage_bucket": "auditoryavatar-d806e.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:878287088918:android:3f6c9bd19a3283c2ef3437",
"android_client_info": {
"package_name": "com.example.auditoryflutter"
}
},
"oauth_client": [
{
"client_id": "878287088918-ak4s68pm1mjblmqghganv4t578psedu5.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCobSY2-hgwae3JNf2DOrE5suUW6FKbvYI"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "878287088918-ak4s68pm1mjblmqghganv4t578psedu5.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
\ No newline at end of file
...@@ -7,6 +7,7 @@ buildscript { ...@@ -7,6 +7,7 @@ buildscript {
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.1.0' classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.google.gms:google-services:4.3.13'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment