Search Gradle plugins

com.liferay.dependency.checker

Owner: Liferay

The Dependency Checker Gradle plugin lets you warn users if a specific configuration dependency is not the latest one available from the Maven central repository. The plugin eventually fails the build if the dependency age (the difference between the timestamp of the current version and the latest version) is above a predetermined threshold.

https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-dependency-checker

Sources: https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-dependency-checker

Version 1.0.6 (latest)

Created 04 August 2023.

The Dependency Checker Gradle plugin lets you warn users if a specific configuration dependency is not the latest one available from the Maven central repository. The plugin eventually fails the build if the dependency age (the difference between the timestamp of the current version and the latest version) is above a predetermined threshold.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.liferay.dependency.checker") version "1.0.6"
}

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