Skip to content

Commit

Permalink
build: correctly set the publication's description
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrMilchmann committed Feb 5, 2023
1 parent aa7fb5f commit 9f03ad6
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,17 @@ publishing {

artifactId = artifactName

description =
"""
OneTrickPony is a modern Java library that implements support for One-Time
Passwords (OTPs). The library requires Java 11 or later and is fully compatible
with Java's module system. It has zero runtime dependencies on external
libraries. Built-In support is provided for the HOTP (RFC 4226) and
TOTP (RFC 6238) algorithms.
""".trimIndent().lines().joinToString(separator = " ")
pom {
description.set(
"""
OneTrickPony is a modern Java library that implements support for One-Time
Passwords (OTPs). The library requires Java 11 or later and is fully compatible
with Java's module system. It has zero runtime dependencies on external
libraries. Built-In support is provided for the HOTP (RFC 4226) and
TOTP (RFC 6238) algorithms.
""".trimIndent().lines().joinToString(separator = " ")
)
}
}
}
}
Expand Down

0 comments on commit 9f03ad6

Please sign in to comment.