mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Java 8 comment.
This commit is contained in:
parent
42cb7ff441
commit
7bcbaf03d0
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ public class Kobalt {
|
|||
}
|
||||
|
||||
val version = kobaltProperties.getProperty(PROPERTY_KOBALT_VERSION)
|
||||
// Note: Duration is Java 8 only, might need an alternative if we want to support Java < 8
|
||||
val versionCheckTimeout = Duration.parse(
|
||||
kobaltProperties.getProperty(PROPERTY_KOBALT_VERSION_CHECK_TIMEOUT) ?: "P1D")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue