NOTE: Use gradle-clojure instead. This is no longer maintained.
Clojure plugin for Gradle's Software Model
Just want to see how to use it? Try learning-graclj
DISCLAIMERS:
- Graclj should not be considered stable until 1.0.0. Until then, minor versions (e.g. 0.1.0 to 0.2.0) will contain breaking changes.
- Currently Graclj only works on nightly versions of Gradle. See the releases to find the appropriate Gradle version.
- Provide a Gradle plugin for Clojure that feels native to Gradle and provides the features the Clojure community has come to expect from Leiningen and Boot.
- Implement using the new model space in Gradle.
- Determine if/how any work here can be ported or shared with Clojuresque. In the initial stages, this will not be attempted in order to preserve the flexibility of Graclj.
Gradle has had very low adoption in the Clojure community: 2% as of the 2014 State of Clojure and 2015 State of Clojure. Clojure support is currently provided by Clojuresque, however it's development has stagnated recently.
Additionally, Gradle continues to evolve with the "foundation of Gradle 3.0" being built on the model space. Which promotes Gradle's long-standing goal of modelling the build space, while trying to make the interactions between configuration from various plugins and build scripts more understandable.
See the original thread on the Clojuresque mailing list for more detail.
- Packaging into JARs
- AOT compilation
- clojure.test execution
- Publishing to any repo supported by Gradle (including Clojars)
Coming soon...