Fix module descriptions (Guava module -> Guice module)

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent 833373a70e
commit e0d9f2f0a2
  1. 2
      http/build.gradle.kts
  2. 30
      inject/build.gradle.kts
  3. 2
      json/build.gradle.kts
  4. 2
      yaml/build.gradle.kts

@ -19,7 +19,7 @@ publishing {
name.set("OpenRS2 HTTP") name.set("OpenRS2 HTTP")
description.set( description.set(
""" """
Guava module for creating a HTTP client with .netrc and Guice module for creating a HTTP client with .netrc and
redirection support. The I/O dispatcher is used to run redirection support. The I/O dispatcher is used to run
asynchronous requests, as code using coroutines will likely use asynchronous requests, as code using coroutines will likely use
the I/O dispatcher to read the response body. the I/O dispatcher to read the response body.

@ -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()
)
}
}
}

@ -19,7 +19,7 @@ publishing {
name.set("OpenRS2 JSON") name.set("OpenRS2 JSON")
description.set( description.set(
""" """
Guava module for creating a JSON ObjectMapper. Guice module for creating a JSON ObjectMapper.
""".trimIndent() """.trimIndent()
) )
} }

@ -20,7 +20,7 @@ publishing {
name.set("OpenRS2 YAML") name.set("OpenRS2 YAML")
description.set( description.set(
""" """
Guava module for creating a YAML ObjectMapper. Guice module for creating a YAML ObjectMapper.
""".trimIndent() """.trimIndent()
) )
} }

Loading…
Cancel
Save