Diamond is a Gradle plugin and test framework that sets up a development environment for working with the Java compiler. It's designed to allow Project Transparent's other projects to be JDK and Java version agnostic, but is able to be used by anyone.
- Clone the repo (https://github.com/project-transparent/diamond).
- Run
gradlew publishToMavenLocal
in the root directory of the repo. - Add
mavenLocal()
to your plugin repositories. - Add
id 'org.transparent.diamond' version '<version>'
to your plugins.