-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
77 lines (60 loc) · 2.12 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
74
75
76
77
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'jacoco'
id "com.github.spotbugs" version "3.0.0"
}
group 'dev.gtierney'
version '0.0.1'
mainClassName = "dev.gtierney.analysispublisher.AnalysisPublisherApplication"
sourceCompatibility = 11
repositories {
mavenCentral()
maven { url 'http://repo.jenkins-ci.org/releases/' }
}
dependencies {
compile group: 'info.picocli', name: 'picocli', version: '4.1.4'
compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.1.1'
compile group: 'edu.hm.hafner', name: 'analysis-model', version: '7.0.5'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.10.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.10.2'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.10.2'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
compile group: 'org.jboss.resteasy', name: 'resteasy-client', version: '3.6.+'
compile group: 'org.jboss.resteasy', name: 'resteasy-jaxrs', version: '3.6.+'
compile group: 'org.jboss.resteasy', name: 'resteasy-jackson2-provider', version: '3.6.+'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.13.0'
runtime group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.13.0'
compile group: 'com.google.guava', name: 'guava', version: '28.2-jre'
testCompile group: 'com.github.tomakehurst', name: 'wiremock', version: '2.25.0'
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.6.0'
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.6.0'
}
wrapper {
gradleVersion = "5.6"
}
test {
useJUnitPlatform()
testLogging {
showStandardStreams = true
}
}
jar {
manifest {
attributes 'Main-Class': mainClassName
}
}
spotbugs {
ignoreFailures = true
}
checkstyle {
configDirectory = file("$projectDir/etc")
}
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
}
}
check.dependsOn(jacocoTestReport)