Skip to content

Setup

Depend on case-app via com.github.alexarchambault::case-app:2.1.0-M29. The latest version is Maven Central.

JVM

From Mill:

def ivyDeps = Agg(
  ivy"com.github.alexarchambault::case-app:2.1.0-M29"
)

From Scala CLI:

//> using dep com.github.alexarchambault::case-app:2.1.0-M29

From sbt:

libraryDependencies += "com.github.alexarchambault" %% "case-app" % "2.1.0-M29"

Scala.js and Scala Native

Scala.js and Scala Native dependencies need to be marked as platform-specific, usually with an extra : or %.

From Mill:

def ivyDeps = Agg(
  ivy"com.github.alexarchambault::case-app::2.1.0-M29"
)

From Scala CLI:

//> using dep com.github.alexarchambault::case-app::2.1.0-M29

From sbt:

libraryDependencies += "com.github.alexarchambault" %%% "case-app" % "2.1.0-M29"

Imports

Most case-app classes that are of relevance for end-users have aliases in the caseapp package object. Importing its content is usually fine to use most case-app features:

import caseapp._