Skip to content

Setting Clojure version

Juho Teperi edited this page Jun 13, 2015 · 14 revisions

There are two ways to set which Clojure version Boot is using:

  1. Globally using BOOT_CLOJURE_VERSION environment variable
  2. Per project using boot.properties file

Per project

You can create the boot.properties file using following command:

$ boot -V > boot.properties

And then editting the file to contain proper Clojure version:

#https://github.com/boot-clj/boot
#Sat Jun 13 17:56:35 EEST 2015
BOOT_CLOJURE_VERSION=1.7.0-RC1
BOOT_VERSION=2.1.2

Note: When using boot.properties file you have to also pin the project to specific Boot version as the file must specify both variables.

Clone this wiki locally