Search Gradle plugins

com.marksandspencer.jenkins.code-analysis

Configuration of static jenkins code analysis tools for Java projects

https://github.com/DigitalInnovation

Version 0.1

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.marksandspencer:plugin:0.1"
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects