Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Clojure
  3. clojurephant

clojurephant

Apache-2.0Java0.9.0

A Gradle plugin providing Clojure and ClojureScript language support for building polyglot and multi-project applications.

Visit WebsiteGitHubGitHub
196 stars18 forks0 contributors

What is clojurephant?

Clojurephant is a Gradle plugin that provides first-class support for building projects using Clojure and ClojureScript. It enables developers to compile, test, package, and run Clojure/ClojureScript code within the Gradle ecosystem, solving the problem of integrating these languages into polyglot or multi-module Gradle builds.

Target Audience

Clojure and ClojureScript developers who use or want to use Gradle for their build system, especially those working on polyglot projects or multi-project builds.

Value Proposition

Developers choose Clojurephant because it combines the familiar developer experience of Clojure tools like Leiningen with Gradle's powerful features for dependency management, plugin ecosystem, and support for complex build scenarios.

Overview

Clojure and Clojurescript support for Gradle

Use Cases

Best For

  • Adding Clojure or ClojureScript modules to existing Gradle-based Java/Kotlin projects
  • Building polyglot applications that mix Clojure with other JVM languages
  • Managing multi-project builds with Clojure dependencies
  • Integrating Clojure tests into Gradle's standard test lifecycle
  • Packaging Clojure applications as Uberjars for deployment
  • Developing ClojureScript applications with Gradle's build pipeline

Not Ideal For

  • Pure Clojure projects already using Leiningen or Boot with no need for Gradle integration
  • Production environments requiring a stable, long-term build tool due to pre-1.0.0 breaking changes
  • Teams heavily reliant on advanced ClojureScript tooling, as support is experimental and new
  • Simple, single-language Clojure applications where Gradle's configuration overhead is unnecessary

Pros & Cons

Pros

Gradle Ecosystem Integration

Fully integrates Clojure and ClojureScript into Gradle, enabling polyglot projects and access to Gradle's extensive plugin ecosystem, as highlighted in the README's philosophy.

Comprehensive Packaging Support

Supports packaging Clojure code into JARs, including Uberjars via the Shadow plugin, and handles ClojureScript compilation and packaging for multiple builds.

Seamless Test Integration

Integrates clojure.test tests into Gradle's standard Test task, allowing automated testing and CI/CD compatibility without extra setup.

Built-in nREPL Server

Starts an nREPL server with configurable middlewares, essential for interactive development and debugging in Clojure projects.

Cons

Pre-1.0.0 Instability

The README explicitly warns that minor versions may contain breaking changes until 1.0.0, making it risky for production use or long-term projects.

Immature ClojureScript Features

ClojureScript support is noted as 'pretty new' in the README, indicating potential bugs, limited functionality, and less community testing.

Rigid Project Layout Assumptions

Assumes a specific file-namespace correspondence without parsing ns forms, which may not fit all coding conventions or legacy projects.

Complex Dependency Setup

Requires additional dependencies like jovial for test integration and the Shadow plugin for Uberjars, adding complexity compared to simpler tools.

Open Source Alternative To

clojurephant is an open-source alternative to the following products:

L
Leiningen

Leiningen is a build automation tool for the Clojure programming language that manages project dependencies, builds, and testing.

B
Boot

A build tool for Clojure that manages project dependencies and runs tasks from the command line.

Frequently Asked Questions

Quick Stats

Stars196
Forks18
Contributors0
Open Issues25
Last commit8 months ago
CreatedSince 2017

Tags

#nrepl#gradle#aot-compilation#clojurescript#clojure#jvm#javascript#gradle-plugin#polyglot#build-tool

Built With

C
Clojure
C
ClojureScript
J
Java
G
Gradle
G
Groovy

Links & Resources

Website

Included in

Clojure2.8k
Auto-fetched 5 hours ago

Related Projects

LeiningenLeiningen

Moved to Codeberg; this is a temporary convenience mirror

Stars7,301
Forks1,572
Last commit1 month ago
shadow-cljsshadow-cljs

ClojureScript compilation made easy

Stars2,402
Forks189
Last commit2 months ago
BootBoot

Build tooling for Clojure.

Stars1,749
Forks178
Last commit5 years ago
build.simplebuild.simple

tools.build's missing piece – install, sign and deploy libraries easily and securely like with Leiningen

Stars33
Forks0
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub