Around the build

Six lessons around the build itself: a plugin written in Groovy and linted, the wrapper that pins the version, a CI workflow and a Dockerfile that are shown but not run here, the IntelliJ steps, the four errors a beginner meets, and a small library built and run end to end.

8.1 A plugin you write a plugin in buildSrc, with its own tests, and CodeNarc passing on its source Open 8.2 The Gradle Wrapper gradle wrapper, the four files it writes, and ./gradlew for one version only Open 8.3 Gradle in CI and Docker a workflow and a Dockerfile that build with Gradle, not run in this image Open 8.4 Gradle in IntelliJ IDEA the steps that import a Gradle project and the settings that matter Open 8.5 The errors a beginner meets an unknown plugin, a dependency that cannot be resolved offline, a release that is too high and a failing test Open 8.6 A finishing project a small library with its tests, built and run end to end Open

Lessons