For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getInferModulePath

Should a --module-path be inferred by analysing JARs and class folders on the classpath?

An entry is considered to be part of the module path if it meets one of the following conditions:

  • It is a jar that contains a 'module-info.class'.
  • It is a class folder that contains a 'module-info.class'.
  • It is a jar with a MANIFEST that contains an 'Automatic-Module-Name' entry.

Since

6.4