diff --git a/subprojects/docs/src/docs/userguide/javaLibraryPlugin.xml b/subprojects/docs/src/docs/userguide/javaLibraryPlugin.xml index 44be85c66a8d..3dd7f0aa1269 100644 --- a/subprojects/docs/src/docs/userguide/javaLibraryPlugin.xml +++ b/subprojects/docs/src/docs/userguide/javaLibraryPlugin.xml @@ -284,5 +284,13 @@ +
+ Increased memory usage for consumers + When a project uses the Java Library plugin, consumers will use the output classes directory of this project directly on their compile + classpath, instead of the jar file if the project uses the Java plugin. An indirect consequence is that up-to-date checking will require more + memory, because Gradle will snapshot individual class files instead of a single jar. This may lead to increased memory consumption for large + projects. + +