{% altDetails require-info-box 'Getting Cask' %}
{% tabs cask-install class=tabs-build-tool %}
{% tab 'Scala CLI' %} You can declare a dependency on Cask with the following using
directive:
//>usingdepcom.lihaoyi::cask::0.10.2
{% endtab %}
{% tab 'sbt' %} In your build.sbt
, you can add a dependency on Cask:
lazyvalexample= project.in(file("example")) .settings( scalaVersion :="3.4.2", libraryDependencies +="com.lihaoyi"%%"cask"%"0.10.2", fork :=true )
{% endtab %}
{% tab 'Mill' %} In your build.sc
, you can add a dependency on Cask:
objectexampleextendsRootModulewithScalaModule { defscalaVersion="3.4.2"defivyDeps=Agg( ivy"com.lihaoyi::cask::0.10.2" ) }
{% endtab %}
{% endtabs %} {% endaltDetails %}