Search Gradle plugins

com.softicar.gradle.dependency.validation

Owner: SoftiCAR

This plugin is useful to validate manual dependency conflict resolutions, e.g. by failing the build in case of accidential downgrades of dependencies. See the Javadoc of the plugin class for more details.

https://github.com/softicar/gradle-plugins

Sources: https://github.com/Prevent-DEV/com.softicar.gradle.plugins

Version 4.0.5 (latest)

Created 06 February 2023.

This plugin is useful to validate manual dependency conflict resolutions, e.g. by failing the build in case of accidential downgrades of dependencies. See the Javadoc of the plugin class for more details.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.softicar.gradle.dependency.validation") version "4.0.5"
}

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