0.8.0-beta.4
Pre-releaseThis 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))
Since beta.2, we no longer test for compatibility with Gradle's configuration cache feature and have removed any code previously in place to support it. Given the moving target of some of Gradle's related APIs and behaviors, this isn't a feature I have capacity to maintain compatibility with.
Since beta.3, added license metadata to the POM file to comply with Clojars requirements.
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.3, 8.0.2, 8.5, 8.6-rc-1 |
11 | 6.4.1, 6.9.2, 7.0.2, 7.6.3, 8.0.2, 8.5, 8.6-rc-1 |
17 | 7.3.3, 7.6.3, 8.0.2, 8.5, 8.6-rc-1 |