Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryber committed Oct 9, 2023
1 parent a9be1f3 commit f0e6ffa
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You can use a maven bom to manage the modules:
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java-bom</artifactId>
<version>4.0.3</version>
<version>4.0.12</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
32 changes: 25 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,39 @@ rightmenu: true

### Install With [Maven](https://mvnrepository.com/artifact/com.konghq/unirest-java)[:](https://repo.maven.apache.org/maven2/com/konghq/unirest-java/)
```xml
<!-- Pull in as a traditional dependency -->
<dependencyManagement>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.konghq/unirest-java-bom -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java-bom</artifactId>
<version>4.0.12</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<!-- https://mvnrepository.com/artifact/com.konghq/unirest-java-core -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.11.09</version>
<artifactId>unirest-java-core</artifactId>
</dependency>

<!-- OR as a snazzy new standalone jar with shaded dependencies -->
<!-- pick a JSON module if you want to parse JSON include one of these: -->
<!-- Google GSON -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.11.09</version>
<classifier>standalone</classifier>
<artifactId>unirest-object-mappers-gson</artifactId>
</dependency>

<!-- OR maybe you like Jackson better? -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-objectmapper-jackson</artifactId>
</dependency>
</dependencies>
```

### Upgrading from Previous Versions
Expand Down

0 comments on commit f0e6ffa

Please sign in to comment.