mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2026-01-25 14:47:05 +00:00
27 lines
764 B
Groovy
27 lines
764 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:2.4.0-alpha6'
|
|
def taskRequests = getGradle().getStartParameter().getTaskRequests().toString()
|
|
def isGms = taskRequests.contains("Gms") || taskRequests.contains("gms")
|
|
if (isGms) {
|
|
classpath 'com.google.gms:google-services:3.0.0'
|
|
classpath 'com.google.firebase:firebase-plugins:1.0.5'
|
|
}
|
|
classpath 'com.novoda:gradle-build-properties-plugin:0.3'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |