-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
73 lines (67 loc) · 2.08 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
project.ext {
supportLibrary = '28.0.0'
rxbinding = '2.1.1'
okhttpVersion = '3.11.0'
archComp = '1.1.1'
room_version = '1.1.1'
rxjava = '2.2.3'
rxAndroid = '2.1.0'
genericRecyclerViewAdapter = '1.9.1'
rxredux = '2.6.0'
glide = '4.0.0'
lottie = '2.5.0'
retrofit = '2.4.0'
rxlint = '1.6'
leakCanary = '1.6.1'
androidSupportTest = '1.0.1'
espressoCore = '3.0.1'
powerMock = '1.6.6'
// powerMock = '1.7.3'
robolectric = '3.3.2'
// robolectric = '3.5.1'
okhttpIdelingResource = '1.0.0'
mockito = '1.10.19'
// mockito = '2.10.0'
mockitoKotlin = '1.5.0'
restMock = '0.2.2'
junit = '4.12'
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.0'
repositories {
jcenter()
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath "com.uber:infer-plugin:0.7.4"
classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.13"
classpath 'pl.droidsonroids.gradle:gradle-pitest-plugin:0.1.4'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.2'
classpath "gradle.plugin.org.jmailen.gradle:kotlinter-gradle:1.5.1"
classpath "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC5-5"
}
}
allprojects {
repositories {
jcenter()
google()
maven { url 'https://jitpack.io' }
}
tasks.withType(Test) {
maxParallelForks = Runtime.runtime.availableProcessors()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}