Home

Awesome

Gradle quality plugin

License CI Appveyor build status codecov

DOCUMENTATION http://xvik.github.io/gradle-quality-plugin

About

Static code analysis for Java and Groovy projects using Checkstyle, PMD, CPD, SpotBugs and CodeNarc. Plugin implements unified console output for all quality plugins, which greatly simplifies developer workflow: only console required for working with violations and makes it feel the same as java compiler errors.

For example, in IntelliJ Idea it would look like:

Features:

NOTE: the plugin is not compatible with the gradle configuration cache

Summary

Setup

NOTE: when updating plugin version in your project don't forget to call clean task to remove cached configs from previous plugin version

Maven Central Gradle Plugin Portal

plugins {
    id 'ru.vyarus.quality' version '5.0.0'
}

OR

buildscript {
    repositories {
        mavenCentral()
        gradlePluginPortal()
    }
    dependencies {
        classpath 'ru.vyarus:gradle-quality-plugin:5.0.0'
    }
}
apply plugin: 'ru.vyarus.quality'

Minimal requirements: java 8, gradle 7

Compatibility

Plugin compiled for java 8, compatible with java 11 (and above)

GradleVersion
7-85.0.0
5.6-64.9.0
5.14.2.2
4.13.4.0
older2.4.0

Java tools require sourceCompatibility=1.8 (or above).

Version 3.3.0 is the latest supporting sourceCompatibility=1.6

Snapshots

<details> <summary>Snapshots may be used through JitPack</summary> </details>

Usage

Read documentation

Might also like


gradle plugin generator