forked from openrs2/openrs2
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
859 B
30 lines
859 B
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(
|
|
"""
|
|
Guice 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()
|
|
)
|
|
}
|
|
}
|
|
}
|
|
|