Modularity Spec
Description of the modularity of a classpath.
A classpath is a list of JAR files, classes and resources folders passed to one of the JDK's commands like javac, java, or javadoc. Since Java 9, these commands offer two different approaches to handle such a classpath:
- A traditional classpath by using the --classpath parameter.
- A modular classpath (module path) using the --module-path parameter.
Wherever a classpath (a list of files and folders) is configured in Gradle, it can be accompanied by a ModularClasspathHandling object to describe how the entries of that list are to be passed to the --classpath and --module-path parameters.
Since
6.4