From 890c406eb458188efc6c85ff41fab7e78b30cb54 Mon Sep 17 00:00:00 2001 From: Jack Matthews <6348088+jackmatt2@users.noreply.github.com> Date: Fri, 4 Nov 2022 14:27:43 +1100 Subject: [PATCH] #none: update docs --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 304d9c8..b9c861f 100644 --- a/README.md +++ b/README.md @@ -25,17 +25,15 @@ Then java-snapshot-testing might just be what you are looking for! // In this case we are using the JUnit5 testing framework testImplementation 'io.github.origin-energy:java-snapshot-testing-junit5:3.+' -// Many will want to serialize into JSON. In this case you should also add the Jackson plugin +// slf4j logging implementation if you don't already have one +testImplementation("org.slf4j:slf4j-simple:2.0.0-alpha0") + +// Optional: Many will want to serialize into JSON. In this case you should also add the Jackson plugin testImplementation 'io.github.origin-energy:java-snapshot-testing-plugin-jackson:3.+' testImplementation 'com.fasterxml.jackson.core:jackson-core:2.11.3' testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.11.3' -// slf4j logging implementation if you don't already have one -testImplementation("org.slf4j:slf4j-simple:2.0.0-alpha0") -``` - -Note that if you'll want Jackson to serialize Java 8 date/time types or Optionals you should also add the following dependencies -```groovy +// Optional: If you want Jackson to serialize Java 8 date/time types or Optionals you should also add the following dependencies testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.3' testRuntimeOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.3' ```