Search Gradle plugins

Version 1.0.2

Created 29 November 2016.

Configuration of static code analysis tools for Java projects

Using the plugins DSL:

plugins {
  id "com.marksandspencer.code-analysis" version "1.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.marksandspencer:mands-gradle-code-analysis:1.0.2"
  }
}

apply plugin: "com.marksandspencer.code-analysis"

Using the plugins DSL:

plugins {
  id("com.marksandspencer.code-analysis") version "1.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.marksandspencer:mands-gradle-code-analysis:1.0.2")
  }
}

apply(plugin = "com.marksandspencer.code-analysis")

Learn how to apply plugins to subprojects