Add dependency info to the readme.

This commit is contained in:
Andrew Lalis 2023-09-22 10:13:11 -04:00
parent d88ce58e6e
commit 64ec7ca8ba
1 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,19 @@ Simple, performant message library for Java, using records. It allows you to
serialize and deserialize records and their contents for use in network or serialize and deserialize records and their contents for use in network or
filesystem IO. filesystem IO.
Add it to your Maven project like so:
```xml
<dependency>
<groupId>com.andrewlalis</groupId>
<artifactId>record-net</artifactId>
<version>1.0.0</version>
</dependency>
```
or Gradle:
```groovy
implementation 'com.andrewlalis:record-net:1.0.0'
```
## Example ## Example
```java ```java