CrossVersionType

io.github.matejcerny.sbtconfig.model.CrossVersionType
See theCrossVersionType companion object
sealed abstract class CrossVersionType

Cross-versioning type for dependencies. Determines how the dependency artifact name is resolved.

  • Java% (no cross-versioning, plain Java dependency)
  • Scala.cross(platformCV): plain %% on JVM, platform-suffixed (%%%) on JS/Native. platformCV adapts per project — CrossVersion.binary by default, overridden to the platform suffix when sbt-scalajs / sbt-scala-native is active — so a Scala dependency links on whichever platform the project targets.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Java
object Scala
In this article