diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/SystemProperties.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/SystemProperties.kt index b7877264..b003aa9f 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/SystemProperties.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/SystemProperties.kt @@ -1,6 +1,6 @@ package com.beust.kobalt -public class SystemProperties { +class SystemProperties { companion object { val javaBase = System.getProperty("java.home") ?: (System.getenv("JAVA_HOME") ?: throw IllegalArgumentException("JAVA_HOME not defined"))