Skip to content

0.8.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@ajoberstar ajoberstar released this 21 Apr 13:10
· 32 commits to main since this release
27a15fb

This release adds support for Gradle 8, but is focused on improving the ClojureScript REPL support. Added ClojureScriptBuild,figwheel {} to configure figwheel-main options. These aren't used directly by Clojurephant, but are exposed over the tooling API for use by the clojurephant-tooling library in your REPL.

build.gradle

dependencies {
  devImplementation("dev.clojurephant:clojurephant-tooling:0.1.0-beta.1") {
    capabilities {
      requireCapability("dev.clojurephant:clojurephant-tooling-figwheel-main")
    }
  }
}

clojurescript {
  builds {
    dev {
      figwheel {
        openUrl = "http://localhost:8000/index.html"
      }
    }
  }
}

In your REPL:

(do (require '[dev.clojurephant.tooling.figwheel-main :as fig]) (fig/start :dev))

Breaking Changes

None

Enhancements

  • #192 Add Figwheel options to the ClojureScriptBuild

Fixes

  • #202 Building with Gradle 8 fails because ForkOptions is now abstract

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.6.1, 8.0.2, 8.1
11 6.4.1, 6.9.2, 7.0.2, 7.6.1, 8.0.2, 8.1
17 7.3.3, 7.6.1, 8.0.2, 8.1