Google HTTP Client Library for Java

com.google.http-client : google-http-client

Google HTTP Client Library for Java. Functionality that works on all supported Java platforms, including Java 7 (or higher) desktop (SE) and web (EE), Android, and Google App Engine.

[Website] ·
401 usages
· 1.2k stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>com.google.http-client</groupId>
    <artifactId>google-http-client</artifactId>
    <version>1.41.0</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.google.http-client:google-http-client library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>com.google.http-client</groupId>
  <artifactId>google-http-client</artifactId>
  <version>1.41.0</version>
</dependency>
</dependencies>

To install com.google.http-client:google-http-client library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the com.google.http-client:google-http-client library to the dependencies section of your build.gradle file:

dependencies {
implementation 'com.google.http-client:google-http-client:1.41.0'
}

Gradle Kotlin DSL: Add the com.google.http-client:google-http-client library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("com.google.http-client:google-http-client:1.41.0")
}

3. Add dependency to a SBT Scala project

Scala: Add the com.google.http-client:google-http-client library to your build.sbt file:

libraryDependencies += "com.google.http-client" % "google-http-client" % "1.41.0"

4. Add dependency to a Grape project

Grape: Add an annotation com.google.http-client:google-http-client library to your groovy script file:

@Grapes(
    @Grab('com.google.http-client:google-http-client:1.41.0')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (5)