1
0
Fork 0
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:
Cedric Beust 2016-03-09 20:24:40 -08:00
parent 42cb7ff441
commit 7bcbaf03d0

View file

@ -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")