-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (31 loc) · 1001 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
plugins {
id 'java'
}
group 'test.jackson.jsonFormat'
version '1.0.0'
repositories {
mavenCentral()
}
dependencies {
// Jackson Databind
ext.jacksonVersion = '2.12.4'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: ext.jacksonVersion
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: ext.jacksonVersion
// JSON In Java
implementation group: 'org.json', name: 'json', version: '20210307'
// Gson
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.7'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
}
reporting.baseDir = "test-reports"
testResultsDirName = "../test-results"
test {
failFast = true
testLogging.showStandardStreams = true
dependsOn cleanTest
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}