forked from computelab/crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (44 loc) · 877 Bytes
/
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
plugins {
id 'java'
id 'findbugs'
id 'pmd'
id 'jacoco'
}
/*** Project ***/
group = 'com.computelab'
ext.name = 'crypto'
version = '0.1.' + (new Date()).format(
'yyyyMMddHHmm', TimeZone.getTimeZone("UTC"))
/*** Java ***/
jar {
group = project.group
baseName = project.ext.name
version = project.version
}
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.guava:guava:22.0'
compile 'com.google.code.gson:gson:2.8.1'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.8.9'
}
/*** Code Quality Tools ***/
tasks.withType(FindBugs) {
reports {
xml.enabled = false
html.enabled = true
}
}
tasks.withType(Pmd) {
reports {
xml.enabled = false
html.enabled = true
}
}
jacocoTestReport {
reports {
xml.enabled = true
}
}