mill.scalalib.api.Versions.scala Maven / Gradle / Ivy
package mill.scalalib.api
object Versions {
private val buildInfoProperties: java.util.Properties = new java.util.Properties()
{
val buildInfoInputStream = getClass
.getResourceAsStream("Versions.buildinfo.properties")
if(buildInfoInputStream == null)
throw new RuntimeException("Could not load resource Versions.buildinfo.properties")
else try {
buildInfoProperties.load(buildInfoInputStream)
} finally {
buildInfoInputStream.close()
}
}
/** Version of Ammonite. */
val ammonite = buildInfoProperties.getProperty("ammonite")
val errorProneVersion = buildInfoProperties.getProperty("errorProneVersion")
/** Dependency to jupiter-interface */
val jupiterInterface = buildInfoProperties.getProperty("jupiterInterface")
val millCompilerBridgeScalaVersions = buildInfoProperties.getProperty("millCompilerBridgeScalaVersions")
val millCompilerBridgeVersion = buildInfoProperties.getProperty("millCompilerBridgeVersion")
/** Mill ModuleDefs plugins version. */
val millModuledefsVersion = buildInfoProperties.getProperty("millModuledefsVersion")
/** Mill version. */
val millVersion = buildInfoProperties.getProperty("millVersion")
/** Dependency sbt-test-interface */
val sbtTestInterface = buildInfoProperties.getProperty("sbtTestInterface")
/** Version of Scalafmt */
val scalafmtVersion = buildInfoProperties.getProperty("scalafmtVersion")
/** SemanticDB version. */
val semanticDBVersion = buildInfoProperties.getProperty("semanticDBVersion")
/** Java SemanticDB plugin version. */
val semanticDbJavaVersion = buildInfoProperties.getProperty("semanticDbJavaVersion")
/** Version of Zinc */
val zinc = buildInfoProperties.getProperty("zinc")
}