-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
52 lines (45 loc) · 1.16 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
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'jacoco'
id 'com.diffplug.spotless' version '6.25.0'
id 'org.wiremock.tools.gradle.wiremock-extension-convention' version '0.3.0'
}
group 'org.wiremock.extensions'
project.ext {
versions = [
caffeine : '3.1.8',
handlebars : '4.3.1',
wiremock : '3.8.0'
]
}
dependencies {
compileOnly("org.wiremock:wiremock:${versions.wiremock}")
implementation("com.github.ben-manes.caffeine:caffeine:${versions.caffeine}")
implementation("com.github.jknack:handlebars-helpers:${versions.handlebars}") {
exclude group: 'org.mozilla', module: 'rhino'
}
testImplementation("org.wiremock:wiremock:${versions.wiremock}")
}
java {
sourceCompatibility = 11
targetCompatibility = 11
}
shadowJar {
relocate "com.github.ben-manes.caffeine", 'wiremock.com.github.ben-manes.caffeine'
relocate "com.github.jknack", 'wiremock.com.github.jknack'
}
test {
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
xml.required = true
csv.required = true
html.required = true
}
}