All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dependency.ScalaParameters.scala Maven / Gradle / Ivy

There is a newer version: 0.3.1
Show newest version
package dependency

final case class ScalaParameters(
  scalaVersion: String,
  scalaBinaryVersion: String,
  platform: Option[String]
)

object ScalaParameters {
  def apply(
    scalaVersion: String,
    scalaBinaryVersion: String
  ): ScalaParameters =
    ScalaParameters(scalaVersion, scalaBinaryVersion, None)

  def apply(scalaVersion: String): ScalaParameters =
    ScalaParameters(scalaVersion, ScalaVersion.binary(scalaVersion), None)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy