Search Gradle plugins

Version 1.0.7 (latest)

1.0.7

Created 24 May 2017.

Configuration of static code analysis tools for Java projects

Using the plugins DSL:

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

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.7")
  }
}

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

Using the plugins DSL:

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

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.7"
  }
}

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

Learn how to apply plugins to subprojects