diff --git a/README.md b/README.md
index 015e917..3c1613c 100644
--- a/README.md
+++ b/README.md
@@ -6,30 +6,35 @@ This library is a JSON Parser built specifically for JNATS to avoid a 3rd party
It has been extracted and repackaged from the JNATS library since it is also used by the [jwt.java](https://github.com/nats-io/jwt.java) library.
-**Current Release**: 3.0.0 **Current Snapshot**: 3.0.1-SNAPSHOT
+**Current Release**: 3.0.1 **Current Snapshot**: 3.0.2-SNAPSHOT
[](https://www.apache.org/licenses/LICENSE-2.0)
-[](https://maven-badges.herokuapp.com/maven-central/io.nats/jnats-json)
-[](http://javadoc.io/doc/io.nats/jnats-json?branch=main)
-[](https://coveralls.io/github/nats-io/json.java?branch=main)
-[](https://github.com/nats-io/json.java/actions/workflows/build-main.yml)
-[](https://github.com/nats-io/json.java/actions/workflows/build-release.yml)
+[](https://mvnrepository.com/artifact/io.nats/jnats-json-jdk21)
+[](https://mvnrepository.com/artifact/io.nats/jnats-json-jdk25)
+[](http://javadoc.io/doc/io.nats/jnats-json-jdk21?branch=main)
+[](https://coveralls.io/github/nats-io/jnats.json?branch=main)
+[](https://github.com/nats-io/jnats.json/actions/workflows/build-main.yml)
+[](https://github.com/nats-io/jnats.json/actions/workflows/build-release.yml)
### JDK Version
This project uses Java 21 Language Level api, but builds with both Java 21 and Java 25, so creates two different artifacts.
Both have the same group id `io.nats`, and the same version but have different artifact names.
-* The Java 21 artifact is `jnats-json-jdk21`
-* The Java 25 artifact is `jnats-json-jdk25`
+* The Java 21 artifact id is `jnats-json-jdk21`
+* The Java 25 artifact id is `jnats-json-jdk25`
-### Using Gradle
+### Dependency Management
-The NATS client is available in the Maven central repository, and can be imported as a standard dependency in your `build.gradle` file:
+The NATS client is available in the Maven central repository,
+and can be imported as a standard dependency in your `build.gradle` or `pom.xml` file,
+The examples shown use the jdk 21 version, to the jdk 25 version just change the artifact id.
+
+#### Gradle
```groovy
dependencies {
- implementation 'io.nats:jnats-json-jdk21:3.0.0'
+ implementation 'io.nats:jnats-json-jdk21:3.0.1'
}
```
@@ -55,19 +60,17 @@ repositories {
}
dependencies {
- implementation 'io.nats:jnats-json-jdk21:3.0.1-SNAPSHOT'
+ implementation 'io.nats:jnats-json-jdk21:3.0.2-SNAPSHOT'
}
```
-### Using Maven
-
-The NATS client is available on the Maven Central Repository and can be imported as a normal dependency in your pom.xml file:
+#### Maven
```xml
io.nats
jnats-json-jdk21
- 3.0.0
+ 3.0.1
```
@@ -101,7 +104,7 @@ If you need a snapshot version, you must enable snapshots and change your depend
io.nats
jnats-json-jdk21
- 3.0.1-SNAPSHOT
+ 3.0.2-SNAPSHOT
```
diff --git a/build.gradle b/build.gradle
index ac5316e..2e8132b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,7 +10,7 @@ plugins {
id("signing")
}
-def jarVersion = "3.0.1"
+def jarVersion = "3.0.2"
group = 'io.nats'
def isRelease = System.getenv("BUILD_EVENT") == "release"