Skip to content

Commit

Permalink
Release 1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Brandes <[email protected]>
  • Loading branch information
NotMyFault committed Feb 11, 2024
1 parent 8cb304f commit a4db8bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ repositories {
}
dependencies {
compileOnly("com.intellectualsites.http:HTTP4J:1.4")
implementation("com.intellectualsites.http:HTTP4J:1.4")
}
```

Ensure to relocate HTTP4J using the [shadow](https://github.com/johnrengelman/shadow) plugin to your classpath.

```xml
<dependency>
<groupId>com.intellectualsites.http</groupId>
Expand All @@ -41,7 +43,7 @@ dependencies {

### Code

**JavaDocs:** [https://javadoc.io/doc/com.intellectualsites.http4j/HTTP4J](https://javadoc.io/doc/com.intellectualsites.http4j/HTTP4J)
**JavaDocs:** [https://javadocs.dev/com.intellectualsites.http/HTTP4J/](https://javadoc.io/doc/com.intellectualsites.http4j/HTTP4J)

All requests are done using an instance of `com.intellectualsites.http.HttpClient`:

Expand Down Expand Up @@ -98,7 +100,7 @@ By using `onException(exception -> {})` you are able to modify the behaviour.

#### Examples

More examples can be found in [HttpClientTest.java](https://github.com/Incendo/HTTP4J/blob/master/src/test/java/com/intellectualsites/http/HttpClientTest.java)
More examples can be found in [HttpClientTest.java](https://github.com/IntellectualSites/HTTP4J/blob/main/src/test/java/com/intellectualsites/http/HttpClientTest.java)

## Projects using HTTP4J:

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tasks.compileJava.configure {
}

group = "com.intellectualsites.http"
version = "1.4-SNAPSHOT"
version = "1.4"

java {
withSourcesJar()
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit a4db8bb

Please sign in to comment.