forked from dariuszseweryn/RxAndroidBle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (40 loc) · 1.01 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
apply from: 'dependencies.gradle'
apply from: 'checkstyle.gradle'
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
classpath 'org.codehaus.groovy:groovy-android-gradle-plugin:2.0.0'
}
}
allprojects {
apply plugin: 'com.github.ben-manes.versions'
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
buildscript {
repositories {
google()
jcenter()
}
}
if (System.env.TRAVIS == 'true') {
tasks.withType(GroovyCompile) {
groovyOptions.fork = false
}
tasks.withType(Test) {
// containers (currently) have 2 dedicated cores and 4GB of memory
maxParallelForks = 2
minHeapSize = '128m'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}