Search Gradle plugins

com.liferay.dependency.checker

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

Version 1.0.3 (latest)

Created 19 November 2018.

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

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

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

Using the plugins DSL:

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

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.3")
  }
}

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

Learn how to apply plugins to subprojects