-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (48 loc) · 1.11 KB
/
build.gradle
File metadata and controls
57 lines (48 loc) · 1.11 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
group 'dfqalves'
buildscript {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.0.1"
}
}
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'
apply plugin: 'com.github.kt3k.coveralls'
repositories {
mavenLocal()
jcenter {
url "http://jcenter.bintray.com/"
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
testCompile 'org.testng:testng:6.9.10'
testCompile 'org.hamcrest:hamcrest-all:1.3'
}
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}
checkstyle {
configFile = new File(rootDir, "checkstyle.xml")
ignoreFailures = true
showViolations = false
}
test {
if(project.hasProperty('ignoreTestFailures')) {
ignoreFailures = true
}
useTestNG()
}