
coursier.util.Properties.scala Maven / Gradle / Ivy
package coursier.util
import java.util.{ Properties => JProperties }
object Properties {
private lazy val props = {
val p = new JProperties()
p.load(
getClass
.getClassLoader
.getResourceAsStream("coursier.properties")
)
p
}
lazy val version = props.getProperty("version")
lazy val commitHash = props.getProperty("commit-hash")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy