forked from SiliconLabs/thunderboard-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (32 loc) · 938 Bytes
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// adjust imports to detect your CI builds
def isCIBuild = System.getenv()['bamboo_planName'] ? true : false
buildscript {
project.ext.android_studio = 3
repositories {
jcenter()
google()
}
dependencies {
if (android_studio == 3) {
classpath 'com.android.tools.build:gradle:3.2.1'
} else {
classpath 'com.android.tools.build:gradle:2.3.3'
}
classpath 'com.google.gms:google-services:4.0.1'
classpath 'de.felixschulze.gradle:gradle-hockeyapp-plugin:3.2'
classpath 'org.ajoberstar:grgit:1.5.0'
}
}
allprojects {
repositories {
jcenter()
google()
}
}
ext {
if (isCIBuild) {
// Open the Git repository in the current directory.
grgit = org.ajoberstar.grgit.Grgit.open(dir: '.')
}
}