diff --git a/README.adoc b/README.adoc index 7b3cff0..8c76b0f 100755 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,3 @@ -:lib_version: 0.4.14 - image::https://github.com/marcingrzejszczak/jsonassert/workflows/Build/badge.svg?style=svg["Build",link="https://github.com/marcingrzejszczak/jsonassert/actions"] image::https://maven-badges.herokuapp.com/maven-central/com.toomuchcoding.jsonassert/jsonassert/badge.svg?style=plastic[Maven Central, link="https://maven-badges.herokuapp.com/maven-central/com.toomuchcoding.jsonassert/jsonassert"] image::https://badges.gitter.im/Join%20Chat.svg[Gitter, link="https://gitter.im/marcingrzejszczak/jsonassert?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"] @@ -13,7 +11,6 @@ Small library for those who have a hard time understanding the complexity of JSO toc::[] - = Rationale Have you ever met such a JSON Path expression? @@ -34,6 +31,23 @@ JSON Assert to the rescue! == Fast intro +=== Adding to your project + +.pom.xml (Maven) +```xml + + com.toomuchcoding.jsonassert + jsonassert + ${jsonassert.version} + test + +``` + +.build.gradle (Gradle) +```groovy +testImplementation "com.toomuchcoding.jsonassert:jsonassert:${jsonassertVersion}" +``` + === Assertions The library has a couple of main classes. One is `JsonAssertion` that gives you public static methods: diff --git a/pom.xml b/pom.xml index 1c4d996..66a8fea 100644 --- a/pom.xml +++ b/pom.xml @@ -197,7 +197,6 @@ maven-release-plugin 3.0.0-M1 - v@{project.version}