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.8.2

1.8.2

Created 29 November 2021.

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "ca.cutterslade.analyze"

Learn how to apply plugins to subprojects