Search Gradle plugins

Version 0.4.0 (latest)

Created 11 May 2022.

Snyk conventions for gradle plugin projects

Using the plugins DSL:

plugins {
  id "net.wooga.snyk-gradle-plugin" version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.wooga.gradle:snyk-gradle-plugin:0.4.0"
  }
}

apply plugin: "net.wooga.snyk-gradle-plugin"

Using the plugins DSL:

plugins {
  id("net.wooga.snyk-gradle-plugin") version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.wooga.gradle:snyk-gradle-plugin:0.4.0")
  }
}

apply(plugin = "net.wooga.snyk-gradle-plugin")

Learn how to apply plugins to subprojects