42 lines
1.4 KiB
Groovy
42 lines
1.4 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:4.0.1"
|
|
classpath 'com.google.gms:google-services:4.3.3'
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'
|
|
classpath "com.android.tools.build:gradle:4.0.1"
|
|
classpath 'com.google.firebase:perf-plugin:1.3.4' // Performance Monitoring plugin
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven {
|
|
url 'https://api.mapbox.com/downloads/v2/releases/maven'
|
|
authentication {
|
|
basic(BasicAuthentication)
|
|
}
|
|
credentials {
|
|
// Do not change the username below.
|
|
// This should always be `mapbox` (not your username).
|
|
username = 'mapbox'
|
|
// Use the secret token you stored in gradle.properties as the password
|
|
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: "sk.eyJ1IjoiZGV2ZWxvcGVycmFtYSIsImEiOiJja3VtZmNzdTYxcXUzMnFuNjMxMm1zeWFoIn0.jB6ngpp89-xUKtdhNZvnnQ"
|
|
}
|
|
}
|
|
google()
|
|
jcenter()
|
|
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |