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)

1.0.6

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.

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.liferay:gradle-plugins-dependency-checker:1.0.6")
  }
}

apply(plugin = "com.liferay.dependency.checker")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.liferay:gradle-plugins-dependency-checker:1.0.6"
  }
}

apply plugin: "com.liferay.dependency.checker"

Learn how to apply plugins to subprojects