com.gabrielfeo.develocity.api.internal.SystemProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of develocity-api-kotlin Show documentation
Show all versions of develocity-api-kotlin Show documentation
A library to use the Develocity API in Kotlin
The newest version!
package com.gabrielfeo.develocity.api.internal
internal var systemProperties: SystemProperties = RealSystemProperties
internal interface SystemProperties {
val userHome: String?
val logLevel: String?
}
internal object RealSystemProperties : SystemProperties {
override val userHome: String? = System.getProperty("user.home")
override val logLevel: String? = System.getProperty(RealLoggerFactory.LOG_LEVEL_SYSTEM_PROPERTY)
}