-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle
52 lines (48 loc) · 1.38 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
buildscript {
apply from: "gradle/dependencies.gradle"
repositories {
google()
mavenCentral()
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
username = "mapbox"
password = System.getenv("SDK_REGISTRY_TOKEN") ?: project.property("SDK_REGISTRY_TOKEN") as String
}
}
}
dependencies {
classpath pluginDependencies.gradle
classpath pluginDependencies.androidPublishPlugin
classpath pluginDependencies.kotlinPlugin
classpath pluginDependencies.mapboxSdkRegistry
}
}
allprojects {
repositories {
google()
mavenCentral()
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
username = "mapbox"
password = password = System.getenv("SDK_REGISTRY_TOKEN") ?: project.property("SDK_REGISTRY_TOKEN") as String
}
}
}
}
subprojects { subproject ->
apply plugin: 'idea'
if (subproject.name == "library") {
apply from: "../gradle/checkstyle.gradle"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}