Blog

How to upgrade your Clojure and ClojureScript projects to use Java 9

Java 9 was recently released on September 21st, 2017. If you’re a Clojure developer, you’re probably keen to try it out to see some of the new features and performance improvements available. To do so, you need to do a few things. For most projects, this will be a small to moderate amount of work. Upgrade Leiningen Leiningen has been updated to include support for Java 9. You need to upgrade to at least 2.

Announcing Deps Versions

Today I’m happy to announce Deps Versions. Deps Versions lets you add a badge to your Clojure projects on GitHub, to show when your dependencies are up to date, or not. Here is one for re-frame, a project I help maintain. The badge was created from this Markdown snippet: [![Dependencies Status](https://versions.deps.co/Day8/re-frame/status.svg)](https://versions.deps.co/Day8/re-frame) You can create badges for any open source project on GitHub, by entering its slug into the search box.

What's New in Cursive 1.5.0?

Cursive, the Clojure editor for IntelliJ released version 1.5.0 today. In this post I wanted to highlight a few big improvements that it brings to dependency management. Adding Dependencies The headlining feature in 1.5.0 is search and autocompletion for dependencies. Cursive provides this in two ways. If you’re editing dependencies in your project.clj file, Cursive will now provide code completion suggestions for artifacts and versions. The second way to add dependencies is to use the Generate command.

Why Deps?

Historically, if you worked in a company that wanted to share JARs among projects without open sourcing them, then you needed to run a private Nexus or Archiva instance yourself. If that works for you, then great! But if you would prefer not to have to run that server, monitor it, secure it, and patch it, then Deps is for you. Deps is a new JAR hosting service for developers. It takes away the maintenance overhead of running a JAR server.