Unirest Java

com.konghq : unirest-java

Simplified, lightweight HTTP client library.

[Website] ·
91 usages
· 2.2k stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>com.konghq</groupId>
    <artifactId>unirest-java</artifactId>
    <version>4.0.0-RC2</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the com.konghq:unirest-java library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>com.konghq</groupId>
  <artifactId>unirest-java</artifactId>
  <version>4.0.0-RC2</version>
</dependency>
</dependencies>

To install com.konghq:unirest-java library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the com.konghq:unirest-java library to the dependencies section of your build.gradle file:

dependencies {
implementation 'com.konghq:unirest-java:4.0.0-RC2'
}

Gradle Kotlin DSL: Add the com.konghq:unirest-java library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("com.konghq:unirest-java:4.0.0-RC2")
}

3. Add dependency to a SBT Scala project

Scala: Add the com.konghq:unirest-java library to your build.sbt file:

libraryDependencies += "com.konghq" % "unirest-java" % "4.0.0-RC2"

4. Add dependency to a Grape project

Grape: Add an annotation com.konghq:unirest-java library to your groovy script file:

@Grapes(
    @Grab('com.konghq:unirest-java:4.0.0-RC2')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage