org.clojars.echeran/sbt-clojure_2.10_0.13

sbt-clojure



Documentation

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.