Search Gradle plugins

com.marksandspencer.jenkins.code-analysis

Configuration of static jenkins code analysis tools for Java projects

https://github.com/DigitalInnovation

Version 0.2

Created 20 June 2017.

Configuration of static jenkins code analysis tools for Java projects

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects