Skip to content

Commit

Permalink
Add mention to potential memory usage increase
Browse files Browse the repository at this point in the history
  • Loading branch information
melix committed Feb 17, 2017
1 parent 42d0f3e commit 73f32d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions subprojects/docs/src/docs/userguide/javaLibraryPlugin.xml
Expand Up @@ -284,5 +284,13 @@
<sourcefile file="a/build.gradle" snippet="configure-groovy"/>
</sample>
</section>
<section id="sec:java_library_known_issues_memory">
<title>Increased memory usage for consumers</title>
<para>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.
</para>
</section>
</section>
</chapter>

0 comments on commit 73f32d6

Please sign in to comment.