Owner:
RapidMiner
A Gradle plugin that applies code quality plugins and configures them with useful defaults.
Version 1.2.0 (latest)
Created 16 September 2026.
* Gradle 9.6 full compatibility pass - replaced all deprecated APIs: `JavaPluginConvention` (removed in Gradle 9.0), `project.buildDir`, eager task access, `tasks.create(Map)`, and `project.ant.xslt()`; all custom task types annotated for configuration-cache correctness (`@DisableCachingByDefault`, `@PathSensitive`, proper `@Output*` annotations) * Removed eclipse-specific tasks (`CheckstyleEclipse`, `PMDEclipse`, `SpotbugsEclipse`) - eclipse integration is no longer part of the plugin * Reactive plugin configuration via `pluginManager.withPlugin()` - tool plugins (Checkstyle, SpotBugs, PMD, CodeNarc, JaCoCo) are now configured reactively and also fire if the user independently applies one of those plugins * Automatic Checkstyle version selection based on Gradle daemon JVM: Java 21+ → 13.x, Java 17+ → 12.x, Java 11+ → 10.x; override with `checkstyleVersion` * Added integration and cross-version tests (Gradle 8.2, 8.14.4, 9.6.0) via `GradlePluginSpecBase` * Bug fixes: checkstyle rule XML, `configureJaCoCo`/`configureSpotBugs` argument mismatch, third-party license file/directory resolution
Add this plugin to your build using the plugins DSL:
plugins {
id("com.rapidminer.code-quality") version "1.2.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("com.rapidminer.code-quality:com.rapidminer.code-quality.gradle.plugin:1.2.0") }It can then be applied in the precompiled script plugin:plugins { id("com.rapidminer.code-quality") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.rapidminer.code-quality:com.rapidminer.code-quality.gradle.plugin:1.2.0") } } apply(plugin = "com.rapidminer.code-quality") - Applying plugins to all subprojects .