forked from openrs2/openrs2
parent
833373a70e
commit
e0d9f2f0a2
@ -0,0 +1,30 @@ |
|||||||
|
plugins { |
||||||
|
`maven-publish` |
||||||
|
kotlin("jvm") |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
api("com.google.inject:guice:${Versions.guice}") |
||||||
|
|
||||||
|
implementation("com.google.guava:guava:${Versions.guava}") |
||||||
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}") |
||||||
|
} |
||||||
|
|
||||||
|
publishing { |
||||||
|
publications.create<MavenPublication>("maven") { |
||||||
|
from(components["java"]) |
||||||
|
|
||||||
|
pom { |
||||||
|
packaging = "jar" |
||||||
|
name.set("OpenRS2 HTTP") |
||||||
|
description.set( |
||||||
|
""" |
||||||
|
Guava module for creating a HTTP client with .netrc and |
||||||
|
redirection support. The I/O dispatcher is used to run |
||||||
|
asynchronous requests, as code using coroutines will likely use |
||||||
|
the I/O dispatcher to read the response body. |
||||||
|
""".trimIndent() |
||||||
|
) |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue