-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (54 loc) · 1.38 KB
/
build.gradle
File metadata and controls
63 lines (54 loc) · 1.38 KB
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
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.vanniktech.code.quality.tools'
apply plugin: "com.vanniktech.android.junit.jacoco"
buildscript {
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.11.0'
classpath 'com.vanniktech:gradle-code-quality-tools-plugin:0.9.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.1.0'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
}
}
codeQualityTools {
checkstyle {
toolVersion = '8.7'
}
pmd {
toolVersion = '6.0.1'
}
errorProne {
toolVersion = '2.1.2'
}
cpd {
ignoreFailures = true // Fix in follow up.
}
lint {
textReport = true
}
}
subprojects {
repositories {
mavenCentral()
google()
}
}
ext {
minSdkVersion = 1
compileSdkVersion = 27
supportLibraryVersion = '27.0.1'
junit = 'junit:junit:4.12'
robolectric = 'org.robolectric:robolectric:3.5.1'
assertj3 = 'org.assertj:assertj-core:3.8.0'
privateConstructor = 'com.pushtorefresh.java-private-constructor-checker:checker:1.2.0'
supportAnnotations = "com.android.support:support-annotations:$supportLibraryVersion"
}
task wrapper(type: Wrapper) {
gradleVersion = '4.8'
distributionType = Wrapper.DistributionType.ALL
}