Search Gradle plugins

ca.cutterslade.analyze

Dependency analysis plugin for gradle. This plugin attempts to replicate the functionality of the maven dependency plugin's analyze goals which fail the build if dependencies are declared but not used or used but not declared.

https://github.com/gradle-dependency-analyze/gradle-dependency-analyze

Sources: https://github.com/wfhartford/gradle-dependency-analyze

Version 1.3.2-SNAPSHOT

Created 23 August 2019.

Dependency analysis plugin for gradle. This plugin attempts to replicate the functionality of the maven dependency plugin's analyze goals which fail the build if dependencies are declared but not used or used but not declared.

Add this plugin to your build using the plugins DSL:

plugins {
  id("ca.cutterslade.analyze") version "1.3.2-SNAPSHOT"
}

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("ca.cutterslade.analyze:ca.cutterslade.analyze.gradle.plugin:1.3.2-SNAPSHOT")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("ca.cutterslade.analyze")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("ca.cutterslade.analyze:ca.cutterslade.analyze.gradle.plugin:1.3.2-SNAPSHOT")
      }
    }
    
    apply(plugin = "ca.cutterslade.analyze")
  • Applying plugins to all subprojects .