Home Code Other Software

Table of Contents


The Grizzled Scala Library is a general-purpose Scala library with a variety of different modules and packages. It’s similar to the clapper.org Grizzled Python Library, only for Scala. (Duh.) It’s roughly organized into subpackages that group different kinds of utility functions and classes. Currently, the library is broken into the following modules:

Currently, the library is broken into a number of modules:

For a more detailed description of what’s available, see the API documentation.


Grizzled Scala is published to the Bintray Maven repository, which is automatically linked to Bintray’s JCenter repository. (From JCenter, it’s eventually pushed to the Maven Central Repository.

Installing for Maven

If you’re using Maven, just specify the artifact, and Maven will do the rest for you:

For example:


If you cannot resolve the artifact, then add the JCenter repository:


For more information on using Maven and Scala, see Josh Suereth’s Scala Maven Guide.

Using with SBT


If you’re using SBT 0.11.x or 0.12.x to compile your code, you can use the following line in your build.sbt file (for Quick Configuration).

repositories += "JCenter" at "http://jcenter.bintray.com/"

libraryDependencies += "org.clapper" %% "grizzled-scala" % "1.3"

You only need the repositories line if the artifact cannot be resolved (e.g., has not, for some reason, been pushed to Maven Central yet).


With SBT 0.13.x, you can just use Doug Tangren’s bintray-sbt plugin. In your project/plugins.sbt file, add:

resolvers += Resolver.url(

addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.1")

Then, in your build.sbt file, add:


That automatically adds the appropriate Bintray repositories. Finally, add:

libraryDependencies += "org.clapper" %% "grizzled-scala" % "1.3"

Grizzled Scala is also registered with Doug Tangren’s excellent ls.implicit.ly catalog. If you use the ls SBT plugin, you can install Grizzled Scala with

sbt> ls-install grizzled-scala

Source Code Repository

The source code for the Grizzled Scala Library is maintained on GitHub. To clone the repository, run this command:

git clone git://github.com/bmc/grizzled-scala.git

Building from Source

Building the Grizzled Scala Library requires SBT 0.13.2 or better. Install SBT, as described at the SBT web site. Then, assuming you have an sbt shell script (or .BAT file, for Windows), run:

sbt compile test package

The resulting jar file will be under the top-level target directory.

API Documentation

The Scaladoc-generated the API documentation is available locally. In addition, you can generate your own version with:

sbt doc

Change log

The change log for all releases is here.


Brian M. Clapper, bmc@clapper.org

The Grizzled Scala Library is copyright © 2009-2012 Brian M. Clapper and is released under a BSD License.


I gladly accept patches from their original authors. Feel free to email patches to me or to fork the GitHub repository and send me a pull request. Along with any patch you send: