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/wfhartford/gradle-dependency-analyze

Version 1.4.0 (latest)

Created 24 February 2020.

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

Using legacy plugin application:

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

apply plugin: "ca.cutterslade.analyze"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects