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.10.0 (latest)

1.10.0

Created 15 July 2024.

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.

Using the plugins DSL:

plugins {
  id("ca.cutterslade.analyze") version "1.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ca.cutterslade.gradle:gradle-dependency-analyze:1.10.0")
  }
}

apply(plugin = "ca.cutterslade.analyze")

Using the plugins DSL:

plugins {
  id "ca.cutterslade.analyze" version "1.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ca.cutterslade.gradle:gradle-dependency-analyze:1.10.0"
  }
}

apply plugin: "ca.cutterslade.analyze"

Learn how to apply plugins to subprojects