mill.scalajslib.ScalaJSBuildInfo.scala Maven / Gradle / Ivy
The newest version!
package mill.scalajslib
object ScalaJSBuildInfo {
private val buildInfoProperties: java.util.Properties = new java.util.Properties()
{
val buildInfoInputStream = getClass
.getResourceAsStream("ScalaJSBuildInfo.buildinfo.properties")
if(buildInfoInputStream == null)
throw new RuntimeException("Could not load resource ScalaJSBuildInfo.buildinfo.properties")
else try {
buildInfoProperties.load(buildInfoInputStream)
} finally {
buildInfoInputStream.close()
}
}
val scalajsEnvExoegoJsdomNodejs = buildInfoProperties.getProperty("scalajsEnvExoegoJsdomNodejs")
val scalajsEnvJsdomNodejs = buildInfoProperties.getProperty("scalajsEnvJsdomNodejs")
val scalajsEnvNodejs = buildInfoProperties.getProperty("scalajsEnvNodejs")
val scalajsEnvPhantomJs = buildInfoProperties.getProperty("scalajsEnvPhantomJs")
val scalajsEnvSelenium = buildInfoProperties.getProperty("scalajsEnvSelenium")
val scalajsImportMap = buildInfoProperties.getProperty("scalajsImportMap")
}