JvmWorkerUtil

mill.scalalib.api.JvmWorkerUtil
object JvmWorkerUtil

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def grepJar(classPath: Seq[PathRef], name: String, versionPrefix: String, sources: Boolean): PathRef
@Scaladoc(value = "/** @return true if the compiler bridge can be downloaded as an already compiled jar */")
def isBinaryBridgeAvailable(scalaVersion: String): Boolean

Attributes

Returns

true if the compiler bridge can be downloaded as an already compiled jar

def isDotty(scalaVersion: String): Boolean
def isDottyOrScala3(scalaVersion: String): Boolean
def isScala3(scalaVersion: String): Boolean
def isScala3Milestone(scalaVersion: String): Boolean
@Scaladoc(value = "/**\n * Given a version string using a semantic versioning scheme (like x.y.z) it\n * returns all the sub-versions in it (major, minor, patch, etc.).\n * For example, matchingVersions(\"2.0.0\") returns \"2.0.0\", \"2.0\" and \"2\"\n */")
def matchingVersions(version: String): Seq[String]

Given a version string using a semantic versioning scheme (like x.y.z) it returns all the sub-versions in it (major, minor, patch, etc.). For example, matchingVersions("2.0.0") returns "2.0.0", "2.0" and "2"

Given a version string using a semantic versioning scheme (like x.y.z) it returns all the sub-versions in it (major, minor, patch, etc.). For example, matchingVersions("2.0.0") returns "2.0.0", "2.0" and "2"

Attributes

def scalaBinaryVersion(scalaVersion: String): String
def scalaJSBinaryVersion(scalaJSVersion: String): String
def scalaJSWorkerVersion(scalaJSVersion: String): String
def scalaNativeBinaryVersion(version: String): String
def scalaNativeWorkerVersion(version: String): String
@Scaladoc(value = "/**\n * Given a version string and the sequence of all the possible versions strings\n * using a semantic versioning scheme (like x.y.z) it returns all the version\n * ranges that contain `version` for all sub-version (major, minor, patch) in\n * `allVersions`.\n * For example, `versionRanges(\"2.0\", Seq(\"1.0\", \"2.0\", \"3.0\"))` returns versions\n * like `\"1+\"`, `\"3-\"`, `\"3.0-\"`, `\"2+\"`, `\"2-\"` and so on.\n */")
def versionRanges(version: String, allVersions: Seq[String]): Seq[String]

Given a version string and the sequence of all the possible versions strings using a semantic versioning scheme (like x.y.z) it returns all the version ranges that contain version for all sub-version (major, minor, patch) in allVersions. For example, versionRanges("2.0", Seq("1.0", "2.0", "3.0")) returns versions like "1+", "3-", "3.0-", "2+", "2-" and so on.

Given a version string and the sequence of all the possible versions strings using a semantic versioning scheme (like x.y.z) it returns all the version ranges that contain version for all sub-version (major, minor, patch) in allVersions. For example, versionRanges("2.0", Seq("1.0", "2.0", "3.0")) returns versions like "1+", "3-", "3.0-", "2+", "2-" and so on.

Attributes

Concrete fields

val DottyNightlyVersion: Regex
val DottyVersion: Regex
val NightlyVersion: Regex
val PartialVersion: Regex
val ReleaseVersion: Regex
val Scala3EarlyVersion: Regex
val Scala3Version: Regex
val TypelevelVersion: Regex
lazy val millCompilerBridgeScalaVersions: Set[String]