Search Gradle plugins

com.monits.staticCodeAnalysis

Configures PMD, CPD, Checkstyle ad Finbugs out of the box for Android and Java projects beyond defauts to improve performance and extensibility, while allowing to use remote (cacheable) configuration

https://github.com/Monits/static-code-analysis-plugin

Sources: https://github.com/Monits/static-code-analysis-plugin.git

Version 3.1.0

Created 28 June 2020.

Configures PMD, CPD, Checkstyle and Findbugs out of the box for Android and Java projects beyond defaults to improve performance and extensibility, while allowing to use remote (cacheable) configuration

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.monits.staticCodeAnalysis") version "3.1.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.monits.staticCodeAnalysis:com.monits.staticCodeAnalysis.gradle.plugin:3.1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.monits.staticCodeAnalysis")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.monits.staticCodeAnalysis:com.monits.staticCodeAnalysis.gradle.plugin:3.1.0")
      }
    }
    
    apply(plugin = "com.monits.staticCodeAnalysis")
  • Applying plugins to all subprojects .