40 lines
997 B
Groovy
40 lines
997 B
Groovy
/*
|
|
* FOURJS_START_COPYRIGHT(P,2013)
|
|
* Property of Four Js*
|
|
* (c) Copyright Four Js 2013, 2021. All Rights Reserved.
|
|
* * Trademark of Four Js Development Tools Europe Ltd
|
|
* in the United States and elsewhere
|
|
* FOURJS_END_COPYRIGHT
|
|
*/
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
File filePath = new File(projectDir, "app/google-services.json")
|
|
if(filePath.exists()){
|
|
classpath 'com.google.gms:google-services:4.2.0'
|
|
}
|
|
classpath "com.android.tools.build:gradle:3.5.3"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
if(project.hasProperty('buildFolderPath')) {
|
|
buildDir = "$buildFolderPath/${project.name}"
|
|
}
|
|
}
|