Search Gradle plugins

Version 1.6.2 (latest)

Created 22 February 2024.

A plugin that makes Gradle respect the dependencies defined in 'module-info.java' files.

Using the plugins DSL:

plugins {
  id("org.gradlex.java-module-versions") version "1.6.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.gradlex:java-module-dependencies:1.6.2")
  }
}

apply(plugin = "org.gradlex.java-module-versions")

Using the plugins DSL:

plugins {
  id "org.gradlex.java-module-versions" version "1.6.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.gradlex:java-module-dependencies:1.6.2"
  }
}

apply plugin: "org.gradlex.java-module-versions"

Learn how to apply plugins to subprojects