Skip to content

Commit 4188a65

Browse files
committed
Update readme
Signed-off-by: Alexander Brandes <mc.cache@web.de>
1 parent 577a076 commit 4188a65

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,29 @@ size of the output artifacts.
2121

2222
Releases are published to the central repository, snapshots are published to S01 OSS Sonatype.
2323

24-
```
24+
```kotlin
2525
repositories {
2626
mavenCentral()
2727
}
2828

2929
dependencies {
30-
implementation("com.intellectualsites.http:HTTP4J:1.4")
30+
implementation("com.intellectualsites.http:HTTP4J:VERSION)
3131
}
3232
```
3333
34-
Ensure to relocate HTTP4J using the [shadow](https://github.com/johnrengelman/shadow) plugin to your classpath.
34+
Ensure to relocate HTTP4J using the gradle shadow plugin to your classpath.
3535
3636
```xml
3737
<dependency>
3838
<groupId>com.intellectualsites.http</groupId>
3939
<artifactId>HTTP4J</artifactId>
40-
<version>1.4</version>
40+
<version>VERSION</version>
4141
</dependency>
4242
```
4343
4444
### Code
4545
46-
**JavaDocs:** [https://javadocs.dev/com.intellectualsites.http/HTTP4J/](https://javadocs.dev/com.intellectualsites.http/HTTP4J/)
46+
**JavaDocs:** [https://javadoc.io/doc/com.intellectualsites.http/HTTP4J](https://javadoc.io/doc/com.intellectualsites.http/HTTP4J)
4747
4848
All requests are done using an instance of `com.intellectualsites.http.HttpClient`:
4949

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ tasks {
6767
"implNote:a:Implementation Note:"
6868
)
6969
opt.links("https://javadoc.io/doc/org.jetbrains/annotations/" + libs.annotations.get().versionConstraint.toString())
70-
opt.links("https://www.javadoc.io/doc/com.google.code.gson/gson/" + libs.gson.get().versionConstraint.toString())
70+
opt.links("https://javadoc.io/doc/com.google.code.gson/gson/" + libs.gson.get().versionConstraint.toString())
7171
opt.noTimestamp()
7272
}
7373

0 commit comments

Comments
 (0)