Home Code Other Software

Table of Contents

Build Status Maven Central

Introduction

The Grizzled Scala Library is a general-purpose Scala library with a variety of different modules and packages. 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.

Installation

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.)

NOTE: This library uses semantic versioning.

tl;dr: If you don’t need Scala 2.10 support, use 4.7.0 or better.

Installing for Maven

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

For example:

<dependency>
  <groupId>org.clapper</groupId>
  <artifactId>grizzled-scala_2.12</artifactId>
  <version>4.9.3</version>
</dependency>

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

<repositories>
  <repository>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
    <id>central</id>
    <name>bintray</name>
    <url>http://jcenter.bintray.com</url>
  </repository>
  ...
</repositories>

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

Using with SBT

Add the following to your SBT build:

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

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 library requires SBT 1.x and a 1.8 version of the Java JDK.

You can build with this one simple command:

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.

Author

Brian M. Clapper, bmc@clapper.org

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

Patches

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: