5 ms·
I use this tool a lot ! When I want to test a new library, I download it from maven using : import $ivy.`org.typelevel::cats:0.9.0` And then I play with it. O
by gbersac 9y ago
I use this tool a lot ! When I want to test a new library, I download it from maven using :
import $ivy.`org.typelevel::cats:0.9.0`
And then I play with it. Or when I read a scala book and copy past example/exercise to benefit from the syntax coloration and don't want to recompile everything every time I change something.
The only question I want to ask to @lihaoyi : why does ivy import has such an ugly syntax ? (import $ivy2.`com::lib:version`) rather than the more sbt like (import $ivy2 "org.scalatest" %% "scalatest" % "2.2.6") ?