Search Gradle plugins

Version 1.8 (latest)

1.8

Created 04 November 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.8"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects