Skip to content

Commit

Permalink
check point
Browse files Browse the repository at this point in the history
  • Loading branch information
hohonuuli committed Nov 27, 2023
1 parent f2e8fc1 commit 3b7baf7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ java {
withJavadocJar()
}


publishing {
publications {
create<MavenPublication>("maven") {
Expand Down Expand Up @@ -94,4 +93,11 @@ tasks.javadoc {
if (JavaVersion.current().isJava9Compatible) {
(options as StandardJavadocDocletOptions).addBooleanOption("html5", true)
}
}

tasks.jar {
manifest {
attributes(mapOf("Implementation-Title" to project.name,
"Implementation-Version" to project.version))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ import java.util.function.Supplier
*/
object Logging:

trait Builder:
def logger: Logger
def level: Level
def throwable: Option[Throwable]

case class LoggerBuilder(
logger: Logger,
level: Level = Level.OFF,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ object ISO8601:
def parse(timestamp: String): Option[Instant] =
Try(formatMillis.parse(timestamp))
.orElse(Try(formatSeconds.parse(timestamp)))
.orElse(Try(DateTimeFormatter.ISO_INSTANT.parse(timestamp)))
.toOption
.map(Instant.from)

0 comments on commit 3b7baf7

Please sign in to comment.