This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 493
/
build.gradle
56 lines (48 loc) · 1.53 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Top-level build file which has configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.70'
apply from: "${rootDir}/gradle/dependencies.gradle"
repositories {
google()
jcenter()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath pluginDependencies.gradle
classpath pluginDependencies.firebasePerformance
classpath pluginDependencies.kotlin
classpath pluginDependencies.fabric
classpath pluginDependencies.googleServices
classpath pluginDependencies.kotlinLint
}
}
plugins {
id 'com.palantir.circle.style' version '1.1.2'
id 'com.github.triplet.play' version '2.0.0'
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local/' }
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
username = "mapbox"
password = System.getenv("MAPBOX_DOWNLOADS_TOKEN") ?: project.property("MAPBOX_DOWNLOADS_TOKEN") as String
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects {
// apply plugin: 'idea'
apply from: "${rootDir}/gradle/dependencies.gradle"
}