CopyPastor

Detecting plagiarism made easy.

Score: 0.9505450236169916; Reported for: String similarity Open both answers

Possible Plagiarism

Reposted on 2018-12-10
by DKV

Original Post

Original - Posted on 2018-12-06
by DKV



            
Present in both answers; Present only in the new answer; Present only in the old answer;

If you would like to integrate the Firebase libraries into one of your own projects, you need to perform a few basic tasks to prepare your Android Studio project. You may have already done this as part of adding Firebase to your app.
First, add rules to your root-level build.gradle file, to include the google-services plugin and the Google's Maven repository:
buildscript { // ... dependencies { // ... classpath 'com.google.gms:google-services:4.2.0' // google-services plugin } } allprojects { // ... repositories { // ... google() // Google's Maven repository } }
Then, in your module Gradle file (usually the app/build.gradle), add the apply plugin line at the bottom of the file to enable the Gradle plugin:
apply plugin: 'com.android.application' android { // ... } dependencies { // ... implementation 'com.google.firebase:firebase-core:16.0.6' // Getting a "Could not find" error? Make sure you have // added the Google maven respository to your root build.gradle } // ADD THIS AT THE BOTTOM apply plugin: 'com.google.gms.google-services'
If you would like to integrate the Firebase libraries into one of your own projects, you need to perform a few basic tasks to prepare your Android Studio project. You may have already done this as part of adding Firebase to your app.
First, add rules to your root-level build.gradle file, to include the google-services plugin and the Google's Maven repository:
buildscript { // ... dependencies { // ... classpath 'com.google.gms:google-services:4.2.0' // google-services plugin } }
allprojects { // ... repositories { // ... google() // Google's Maven repository } }
Then, in your module Gradle file (usually the app/build.gradle), add the apply plugin line at the bottom of the file to enable the Gradle plugin:
apply plugin: 'com.android.application'
android { // ... }
dependencies { // ... implementation 'com.google.firebase:firebase-core:16.0.6' // Getting a "Could not find" error? Make sure you have // added the Google maven respository to your root build.gradle }
// ADD THIS AT THE BOTTOM apply plugin: 'com.google.gms.google-services'

        
Present in both answers; Present only in the new answer; Present only in the old answer;