File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,15 @@ Then java-snapshot-testing might just be what you are looking for!
25
25
// In this case we are using the JUnit5 testing framework
26
26
testImplementation 'io.github.origin-energy:java-snapshot-testing-junit5:3.+'
27
27
28
- // Many will want to serialize into JSON. In this case you should also add the Jackson plugin
28
+ // slf4j logging implementation if you don't already have one
29
+ testImplementation("org.slf4j:slf4j-simple:2.0.0-alpha0")
30
+
31
+ // Optional: Many will want to serialize into JSON. In this case you should also add the Jackson plugin
29
32
testImplementation 'io.github.origin-energy:java-snapshot-testing-plugin-jackson:3.+'
30
33
testImplementation 'com.fasterxml.jackson.core:jackson-core:2.11.3'
31
34
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.11.3'
32
35
33
- // slf4j logging implementation if you don't already have one
34
- testImplementation("org.slf4j:slf4j-simple:2.0.0-alpha0")
35
- ```
36
-
37
- Note that if you'll want Jackson to serialize Java 8 date/time types or Optionals you should also add the following dependencies
38
- ``` groovy
36
+ // Optional: If you want Jackson to serialize Java 8 date/time types or Optionals you should also add the following dependencies
39
37
testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.3'
40
38
testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.3'
41
39
```
You can’t perform that action at this time.
0 commit comments