This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
73 lines (59 loc) · 1.49 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'checkstyle'
apply plugin: 'jacoco'
apply plugin: 'findbugs'
apply plugin: 'application'
test.testLogging { exceptionFormat "full"; events "failed", "passed", "skipped" }
configurations.all {
resolutionStrategy {
force 'org.ow2.asm:asm:5.0.3'
forcedModules = [ 'org.ow2.asm:asm:5.0.3' ]
}
}
mainClassName = "edu.cmu.cs.db.peloton.test.app.Main"
run {
if (project.hasProperty("args")) {
args project.args.split('\\s')
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.google.guava', name: 'guava', version: '21.0'
// https://mvnrepository.com/artifact/org.postgresql/postgresql
compile group: 'org.postgresql', name: 'postgresql', version: '9.4-1206-jdbc4'
compile group: 'org.apache.ant', name: 'ant-junit', version: '1.10.1'
compile group: 'com.beust', name: 'jcommander', version: '1.7'
}
dependencies {
runtime fileTree(dir: 'lib', include: '*.jar')
}
checkstyle {
ignoreFailures = true
toolVersion = "6.7"
sourceSets = [sourceSets.main]
}
findbugs {
ignoreFailures = true
}
tasks.withType(FindBugs) {
reports {
xml.enabled false
html.enabled true
}
}
buildscript{
repositories {
mavenCentral()
}
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination "${buildDir}/reports/coverage"
}
}