Search Gradle plugins

Version 1.0.3 (latest)

Created 24 August 2022.

A Gradle plugin to produce a dependency report in JSON format that Gemnasium can use for a dependency vulnerability scan

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.gemnasium.gradle-plugin") version "1.0.3"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.gemnasium.gradle-plugin:com.gemnasium.gradle-plugin.gradle.plugin:1.0.3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.gemnasium.gradle-plugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.gemnasium.gradle-plugin:com.gemnasium.gradle-plugin.gradle.plugin:1.0.3")
      }
    }
    
    apply(plugin = "com.gemnasium.gradle-plugin")
  • Applying plugins to all subprojects .