A library can be 'pinned' to a specific version of Scala using the %
operator between the groupId
and the artifactId
(the first two strings in a library dependency). In this example, we pin the library with the artifactId
of slick
to Scala version 2.10
:
libraryDependencies += "com.typesafe.slick" % "slick_2.10" % "3.2.0-M1"