SBT plugin building Clojure code
Scala
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

sbt-clojure

an sbt plugin for clojure, inspired from sbt-groovy.

To use Clojure code in your Scala project, follow these few steps:

  1. add this to build.sbt
seq(clojure.settings :_*)

libraryDependencies += "org.clojure" % "clojure" % "1.5.1"
  1. add this to projectt/plugins.sbt
addSbtPlugin("com.unhandledexpression" % "sbt-clojure" % "0.1")
  1. Create a clojure directory to hold the sources

Example:

src/
└── main
    ├── clojure
    │   ├── hello.clj
    │   └── sub
    │       └── num.clj
    └── scala
        └── main.scala

An example project is available for reference.