This page gives you a quick reference to get Apache HttpCore dependency for Maven or Gradle projects. You can also download the Apache HttpCore jar dependency, the link given at the "Download JAR File" section.
Apache HttpComponents Core (blocking I/O).
For more details about the proper version to use, check out the following Maven Central link.
Apache HttpComponents Core (blocking I/O).
Apache HttpCore Maven Dependency
Copy below Apache HttpCore maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.12</version>
</dependency>
Apache HttpCore Gradle Dependency
Copy below Apache HttpCore gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore
compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.12'
Comments
Post a Comment