Skip to content

Commit 30ce115

Browse files
committed
fixes test output
1 parent a2ea914 commit 30ce115

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

build.gradle

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,17 @@ testlogger {
5858
theme 'mocha'
5959
}
6060

61+
tasks.withType(Test) {
62+
testlogger {
63+
theme 'mocha'
64+
}
65+
}
66+
6167
tasks.register('unit-tests', Test) {
68+
testClassesDirs = sourceSets.test.output.classesDirs
69+
classpath = sourceSets.test.runtimeClasspath
70+
71+
dependsOn testClasses
6272
outputs.upToDateWhen { false }
6373
useJUnitPlatform{
6474
excludeTags "integration"
@@ -67,13 +77,21 @@ tasks.register('unit-tests', Test) {
6777
}
6878

6979
tasks.register('integration-tests', Test) {
80+
testClassesDirs = sourceSets.test.output.classesDirs
81+
classpath = sourceSets.test.runtimeClasspath
82+
83+
dependsOn testClasses
7084
outputs.upToDateWhen { false }
7185
useJUnitPlatform{
7286
includeTags "integration"
7387
}
7488
}
7589

7690
tasks.register('acceptance-tests', Test) {
91+
testClassesDirs = sourceSets.test.output.classesDirs
92+
classpath = sourceSets.test.runtimeClasspath
93+
94+
dependsOn testClasses
7795
outputs.upToDateWhen { false }
7896
useJUnitPlatform{
7997
includeTags "acceptance"
@@ -95,12 +113,13 @@ dependencies {
95113
implementation group: 'com.truelayer', name: 'truelayer-signing', version: '0.2.6'
96114

97115
// Serialization
98-
def jacksonVersion = '2.14.1'
99-
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: jacksonVersion
100-
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: jacksonVersion
101-
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: jacksonVersion
102-
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: jacksonVersion
103-
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jacksonVersion
116+
def jacksonVersion = '3.0.3'
117+
implementation group: 'tools.jackson.core', name: 'jackson-core', version: jacksonVersion
118+
implementation group: 'tools.jackson.core', name: 'jackson-databind', version: jacksonVersion
119+
def jacksonDatatypeVersion = '2.20.1'
120+
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: jacksonDatatypeVersion
121+
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: jacksonDatatypeVersion
122+
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.20'
104123

105124
// Logging
106125
def tinyLogVersion = '2.5.0'

0 commit comments

Comments
 (0)