com.gabrielfeo.develocity.api.internal.Env.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 env: Env = RealEnv
internal interface Env {
operator fun get(name: String): String?
}
internal object RealEnv : Env {
override fun get(name: String): String? = System.getenv(name)
}