Clojure 和 Clojurescript 对 Gradle 的支持
[!IMPORTANT] This plugin is now maintained on SourceHut.
Formerly known as "gradle-clojure"
A Gradle plugin providing support for the Clojure and ClojureScript languages.
NOTE: clojurephant should not be considered stable until 1.0.0. Until then, minor versions (e.g. 0.1.0 to 0.2.0) will likely contain breaking changes.
NOTE: ClojureScript features are pretty new, so let us know if you run into issues or have ideas for improvement.
The goal is to provide the same creature comforts that Leiningen and Boot do for Clojure/ClojureScript development, while also leveraging Gradle's unique features:
See the Release Notes for available versions, compatibility with Gradle, Java, and Clojure, and detailed change notes.
This plugin assumes you're using a sane layout for your Clojure code - namespaces corresponding
to your source code layout, and one namespace per file. The plugin uses the filenames to
calculate the namespaces involved, it does not parse the files looking for ns forms.
Look at our sample projects:
./gradlew test Executes your clojure.test tests (and any other JUnit tests in your build)../gradlew clojureRepl Starts an nREPL server (on a random port by default).build.gradle
…See all available options in the docs.
Read the online Clojurephant documentation https://clojurephant.dev.
For questions or support, please visit the Clojurephant Discussions, ClojureVerse gradle-clojure channel or the Clojurian's Slack #gradle channel
For bug reports and feature requests, please use the repo's issues.
See the guidelines for details on how you can contribute.
This project started from the cursive.clojure plugin by Colin Fleming (@cmf, original author) and Piotrek Bzdyl (@pbzdyl).
Thanks to John Szakmeister (@jszakmeister) for organizing a call with Gradle to get us started in the right direction.
Thanks to all our contributors.
暂无开放 Issues,或尚未同步最近议题。