Skip to content

Commit 890c406

Browse files
authored
#none: update docs
1 parent abe6036 commit 890c406

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@ Then java-snapshot-testing might just be what you are looking for!
2525
// In this case we are using the JUnit5 testing framework
2626
testImplementation 'io.github.origin-energy:java-snapshot-testing-junit5:3.+'
2727
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
2932
testImplementation 'io.github.origin-energy:java-snapshot-testing-plugin-jackson:3.+'
3033
testImplementation 'com.fasterxml.jackson.core:jackson-core:2.11.3'
3134
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.11.3'
3235
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
3937
testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.3'
4038
testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.3'
4139
```

0 commit comments

Comments
 (0)