This file is indexed.

/usr/share/doc/gradle/userguide/pt05.html is in gradle-doc 3.4.1-7ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Part&nbsp;V.&nbsp;Building JVM projects</title><link xmlns:xslthl="http://xslthl.sf.net" type="text/css" rel="stylesheet" href="base.css"><link xmlns:xslthl="http://xslthl.sf.net" type="text/css" rel="stylesheet" href="docs.css"><link xmlns:xslthl="http://xslthl.sf.net" type="text/css" rel="stylesheet" href="userguide.css"><meta content="DocBook XSL Stylesheets V1.79.1" name="generator"><link rel="home" href="userguide.html" title="Gradle User Guide Version 3.4.1"><link rel="up" href="userguide.html" title="Gradle User Guide Version 3.4.1"><link rel="prev" href="test_kit.html" title="The Gradle TestKit - Gradle User Guide Version 3.4.1"><link rel="next" href="tutorial_java_projects.html" title="Java Quickstart - Gradle User Guide Version 3.4.1"></head><body><div class="navheader"><div><div class="navbar"><a xmlns:xslthl="http://xslthl.sf.net" href="test_kit.html" title="The Gradle TestKit - Gradle User Guide Version 3.4.1">Previous</a><span>|</span><a xmlns:xslthl="http://xslthl.sf.net" href="userguide.html" title="Gradle User Guide Version 3.4.1">Contents</a><span>|</span><a xmlns:xslthl="http://xslthl.sf.net" href="tutorial_java_projects.html" title="Java Quickstart - Gradle User Guide Version 3.4.1">Next</a></div></div></div><div class="part"><div class="titlepage"><div><div><h1 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N15783"></a>Part&nbsp;V.&nbsp;Building JVM projects</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="chapter"><a href="tutorial_java_projects.html">46. Java Quickstart</a></span></dt><dd><dl><dt><span class="section"><a href="tutorial_java_projects.html#sec:the_java_plugin">46.1. The Java plugin</a></span></dt><dt><span class="section"><a href="tutorial_java_projects.html#sec:a_basic_java_project">46.2. A basic Java project</a></span></dt><dt><span class="section"><a href="tutorial_java_projects.html#sec:examples">46.3. Multi-project Java build</a></span></dt><dt><span class="section"><a href="tutorial_java_projects.html#sec:java_tutorial_where_to_next">46.4. Where to next?</a></span></dt></dl></dd><dt><span class="chapter"><a href="java_plugin.html">47. The Java Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="java_plugin.html#sec:java_usage">47.1. Usage</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_source_sets">47.2. Source sets</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_tasks">47.3. Tasks</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_project_layout">47.4. Project layout</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_plugin_and_dependency_management">47.5. Dependency management</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_convention_properties">47.6. Convention properties</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:working_with_java_source_sets">47.7. Working with source sets</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:javadoc">47.8. Javadoc</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:clean">47.9. Clean</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_resources">47.10. Resources</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:compile">47.11. CompileJava</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:incremental_compile">47.12. Incremental Java compilation</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_compile_avoidance">47.13. Compile avoidance</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_test">47.14. Test</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:jar">47.15. Jar</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:upload">47.16. Uploading</a></span></dt><dt><span class="section"><a href="java_plugin.html#sec:java_cross_compilation">47.17. Compiling and testing for Java 6</a></span></dt></dl></dd><dt><span class="chapter"><a href="java_library_plugin.html">48. The Java Library Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="java_library_plugin.html#sec:java_library_usage">48.1. Usage</a></span></dt><dt><span class="section"><a href="java_library_plugin.html#sec:java_library_separation">48.2. API and implementation separation</a></span></dt><dt><span class="section"><a href="java_library_plugin.html#sec:java_library_recognizing_dependencies">48.3. Recognizing API and implementation dependencies</a></span></dt><dt><span class="section"><a href="java_library_plugin.html#sec:java_library_configurations_graph">48.4. The Java Library plugin configurations</a></span></dt><dt><span class="section"><a href="java_library_plugin.html#sec:java_library_known_issues">48.5. Known issues</a></span></dt></dl></dd><dt><span class="chapter"><a href="web_project_tutorial.html">49. Web Application Quickstart</a></span></dt><dd><dl><dt><span class="section"><a href="web_project_tutorial.html#sec:building_a_war_file">49.1. Building a WAR file</a></span></dt><dt><span class="section"><a href="web_project_tutorial.html#sec:running_your_web_application">49.2. Running your web application</a></span></dt><dt><span class="section"><a href="web_project_tutorial.html#sec:web_tutorial_summary">49.3. Summary</a></span></dt></dl></dd><dt><span class="chapter"><a href="war_plugin.html">50. The War Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="war_plugin.html#sec:war_usage">50.1. Usage</a></span></dt><dt><span class="section"><a href="war_plugin.html#sec:war_tasks">50.2. Tasks</a></span></dt><dt><span class="section"><a href="war_plugin.html#sec:war_project_layout">50.3. Project layout</a></span></dt><dt><span class="section"><a href="war_plugin.html#sec:war_dependency_management">50.4. Dependency management</a></span></dt><dt><span class="section"><a href="war_plugin.html#sec:war_convention_properties">50.5. Convention properties</a></span></dt><dt><span class="section"><a href="war_plugin.html#sec:war_default_settings">50.6. War</a></span></dt><dt><span class="section"><a href="war_plugin.html#sec:war_customizing">50.7. Customizing</a></span></dt></dl></dd><dt><span class="chapter"><a href="ear_plugin.html">51. The Ear Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="ear_plugin.html#sec:ear_usage">51.1. Usage</a></span></dt><dt><span class="section"><a href="ear_plugin.html#sec:ear_tasks">51.2. Tasks</a></span></dt><dt><span class="section"><a href="ear_plugin.html#sec:ear_project_layout">51.3. Project layout</a></span></dt><dt><span class="section"><a href="ear_plugin.html#sec:ear_dependency_management">51.4. Dependency management</a></span></dt><dt><span class="section"><a href="ear_plugin.html#sec:ear_convention_properties">51.5. Convention properties</a></span></dt><dt><span class="section"><a href="ear_plugin.html#sec:ear_default_settings">51.6. Ear</a></span></dt><dt><span class="section"><a href="ear_plugin.html#sec:ear_customizing">51.7. Customizing</a></span></dt><dt><span class="section"><a href="ear_plugin.html#sec:using_custom_app_xml">51.8. Using custom descriptor file</a></span></dt></dl></dd><dt><span class="chapter"><a href="jetty_plugin.html">52. The Jetty Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="jetty_plugin.html#sec:jetty_usage">52.1. Usage</a></span></dt><dt><span class="section"><a href="jetty_plugin.html#sec:jetty_tasks">52.2. Tasks</a></span></dt><dt><span class="section"><a href="jetty_plugin.html#sec:jetty_project_layout">52.3. Project layout</a></span></dt><dt><span class="section"><a href="jetty_plugin.html#sec:jetty_dependency_management">52.4. Dependency management</a></span></dt><dt><span class="section"><a href="jetty_plugin.html#sec:jetty_convention_properties">52.5. Convention properties</a></span></dt></dl></dd><dt><span class="chapter"><a href="application_plugin.html">53. The Application Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="application_plugin.html#sec:application_usage">53.1. Usage</a></span></dt><dt><span class="section"><a href="application_plugin.html#sec:application_tasks">53.2. Tasks</a></span></dt><dt><span class="section"><a href="application_plugin.html#sec:application_convention_properties">53.3. Convention properties</a></span></dt></dl></dd><dt><span class="chapter"><a href="javaLibraryDistribution_plugin.html">54. The Java Library Distribution Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="javaLibraryDistribution_plugin.html#sec:java_library_distribution_usage">54.1. Usage</a></span></dt><dt><span class="section"><a href="javaLibraryDistribution_plugin.html#sec:java_library_distribution_tasks">54.2. Tasks</a></span></dt><dt><span class="section"><a href="javaLibraryDistribution_plugin.html#java_library_distribution_resources">54.3. Including other resources in the distribution</a></span></dt></dl></dd><dt><span class="chapter"><a href="tutorial_groovy_projects.html">55. Groovy Quickstart</a></span></dt><dd><dl><dt><span class="section"><a href="tutorial_groovy_projects.html#sec:a_basic_groovy_project">55.1. A basic Groovy project</a></span></dt><dt><span class="section"><a href="tutorial_groovy_projects.html#sec:groovy_tutorial_summary">55.2. Summary</a></span></dt></dl></dd><dt><span class="chapter"><a href="groovy_plugin.html">56. The Groovy Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="groovy_plugin.html#sec:groovy_usage">56.1. Usage</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:groovy_tasks">56.2. Tasks</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:groovy_project_layout">56.3. Project layout</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:groovy_dependency_management">56.4. Dependency management</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:automatic_configuration_of_groovyclasspath">56.5. Automatic configuration of groovyClasspath</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:groovy_convention_properties">56.6. Convention properties</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:groovy_source_set_properties">56.7. Source set properties</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:groovyCompile">56.8. GroovyCompile</a></span></dt><dt><span class="section"><a href="groovy_plugin.html#sec:groovy_cross_compilation">56.9. Compiling and testing for Java 6</a></span></dt></dl></dd><dt><span class="chapter"><a href="scala_plugin.html">57. The Scala Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="scala_plugin.html#sec:scala_usage">57.1. Usage</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_tasks">57.2. Tasks</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_project_layout">57.3. Project layout</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_dependency_management">57.4. Dependency management</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:configure_scala_classpath">57.5. Automatic configuration of scalaClasspath</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:configure_zinc_compiler">57.6. Configuring the Zinc compiler</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_convention_properties">57.7. Convention properties</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_source_set_properties">57.8. Source set properties</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_compiling_in_external_process">57.9. Compiling in external process</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_incremental_compilation">57.10. Incremental compilation</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:scala_cross_compilation">57.11. Compiling and testing for Java 6</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:eclipse_integration">57.12. Eclipse Integration</a></span></dt><dt><span class="section"><a href="scala_plugin.html#sec:intellij_idea_integration">57.13. IntelliJ IDEA Integration</a></span></dt></dl></dd><dt><span class="chapter"><a href="antlr_plugin.html">58. The ANTLR Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="antlr_plugin.html#sec:antlr_usage">58.1. Usage</a></span></dt><dt><span class="section"><a href="antlr_plugin.html#sec:antlr_tasks">58.2. Tasks</a></span></dt><dt><span class="section"><a href="antlr_plugin.html#sec:antlr_project_layout">58.3. Project layout</a></span></dt><dt><span class="section"><a href="antlr_plugin.html#sec:antlr_dependency_management">58.4. Dependency management</a></span></dt><dt><span class="section"><a href="antlr_plugin.html#sec:antlr_convention_properties">58.5. Convention properties</a></span></dt><dt><span class="section"><a href="antlr_plugin.html#sec:antlr_source_set_properties">58.6. Source set properties</a></span></dt><dt><span class="section"><a href="antlr_plugin.html#sec:controlling_the_antlr_generator_process">58.7. Controlling the ANTLR generator process</a></span></dt></dl></dd><dt><span class="chapter"><a href="checkstyle_plugin.html">59. The Checkstyle Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="checkstyle_plugin.html#sec:checkstyle_usage">59.1. Usage</a></span></dt><dt><span class="section"><a href="checkstyle_plugin.html#sec:checkstyle_tasks">59.2. Tasks</a></span></dt><dt><span class="section"><a href="checkstyle_plugin.html#sec:checkstyle_project_layout">59.3. Project layout</a></span></dt><dt><span class="section"><a href="checkstyle_plugin.html#sec:checkstyle_dependency_management">59.4. Dependency management</a></span></dt><dt><span class="section"><a href="checkstyle_plugin.html#sec:checkstyle_configuration">59.5. Configuration</a></span></dt><dt><span class="section"><a href="checkstyle_plugin.html#sec:checkstyle_customize_xsl">59.6. Customizing the HTML report</a></span></dt></dl></dd><dt><span class="chapter"><a href="codenarc_plugin.html">60. The CodeNarc Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="codenarc_plugin.html#sec:codenarc_usage">60.1. Usage</a></span></dt><dt><span class="section"><a href="codenarc_plugin.html#sec:codenarc_tasks">60.2. Tasks</a></span></dt><dt><span class="section"><a href="codenarc_plugin.html#sec:codenarc_project_layout">60.3. Project layout</a></span></dt><dt><span class="section"><a href="codenarc_plugin.html#sec:codenarc_dependency_management">60.4. Dependency management</a></span></dt><dt><span class="section"><a href="codenarc_plugin.html#sec:codenarc_configuration">60.5. Configuration</a></span></dt></dl></dd><dt><span class="chapter"><a href="findbugs_plugin.html">61. The FindBugs Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="findbugs_plugin.html#sec:findbugs_usage">61.1. Usage</a></span></dt><dt><span class="section"><a href="findbugs_plugin.html#sec:findbugs_tasks">61.2. Tasks</a></span></dt><dt><span class="section"><a href="findbugs_plugin.html#sec:findbugs_dependency_management">61.3. Dependency management</a></span></dt><dt><span class="section"><a href="findbugs_plugin.html#sec:findbugs_configuration">61.4. Configuration</a></span></dt><dt><span class="section"><a href="findbugs_plugin.html#sec:findbugs_customize_xsl">61.5. Customizing the HTML report</a></span></dt></dl></dd><dt><span class="chapter"><a href="jdepend_plugin.html">62. The JDepend Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="jdepend_plugin.html#sec:jdepend_usage">62.1. Usage</a></span></dt><dt><span class="section"><a href="jdepend_plugin.html#sec:jdepend_tasks">62.2. Tasks</a></span></dt><dt><span class="section"><a href="jdepend_plugin.html#sec:jdepend_dependency_management">62.3. Dependency management</a></span></dt><dt><span class="section"><a href="jdepend_plugin.html#sec:jdepend_configuration">62.4. Configuration</a></span></dt></dl></dd><dt><span class="chapter"><a href="pmd_plugin.html">63. The PMD Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="pmd_plugin.html#sec:pmd_usage">63.1. Usage</a></span></dt><dt><span class="section"><a href="pmd_plugin.html#sec:pmd_tasks">63.2. Tasks</a></span></dt><dt><span class="section"><a href="pmd_plugin.html#sec:pmd_dependency_management">63.3. Dependency management</a></span></dt><dt><span class="section"><a href="pmd_plugin.html#sec:pmd_configuration">63.4. Configuration</a></span></dt></dl></dd><dt><span class="chapter"><a href="jacoco_plugin.html">64. The JaCoCo Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="jacoco_plugin.html#sec:jacoco_getting_started">64.1. Getting Started</a></span></dt><dt><span class="section"><a href="jacoco_plugin.html#sec:configuring_the_jacoco_plugin">64.2. Configuring the JaCoCo Plugin</a></span></dt><dt><span class="section"><a href="jacoco_plugin.html#sec:jacoco_report_configuration">64.3. JaCoCo Report configuration</a></span></dt><dt><span class="section"><a href="jacoco_plugin.html#sec:jacoco_report_violation_rules">64.4. Enforcing code coverage metrics</a></span></dt><dt><span class="section"><a href="jacoco_plugin.html#sec:jacoco_specific_task_configuration">64.5. JaCoCo specific task configuration</a></span></dt><dt><span class="section"><a href="jacoco_plugin.html#sec:jacoco_tasks">64.6. Tasks</a></span></dt><dt><span class="section"><a href="jacoco_plugin.html#sec:jacoco_dependency_management">64.7. Dependency management</a></span></dt></dl></dd><dt><span class="chapter"><a href="osgi_plugin.html">65. The OSGi Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="osgi_plugin.html#sec:osgi_usage">65.1. Usage</a></span></dt><dt><span class="section"><a href="osgi_plugin.html#sec:osgi_implicitly_applied_plugins">65.2. Implicitly applied plugins</a></span></dt><dt><span class="section"><a href="osgi_plugin.html#sec:osgi_tasks">65.3. Tasks</a></span></dt><dt><span class="section"><a href="osgi_plugin.html#sec:osgi_dependency_management">65.4. Dependency management</a></span></dt><dt><span class="section"><a href="osgi_plugin.html#sec:osgi_convention_object">65.5. Convention object</a></span></dt></dl></dd><dt><span class="chapter"><a href="eclipse_plugin.html">66. The Eclipse Plugins</a></span></dt><dd><dl><dt><span class="section"><a href="eclipse_plugin.html#sec:eclipse_usage">66.1. Usage</a></span></dt><dt><span class="section"><a href="eclipse_plugin.html#sec:eclipse_tasks">66.2. Tasks</a></span></dt><dt><span class="section"><a href="eclipse_plugin.html#sec:eclipse_configuration">66.3. Configuration</a></span></dt><dt><span class="section"><a href="eclipse_plugin.html#sec:eclipse_customizing_the_generated_files">66.4. Customizing the generated files</a></span></dt></dl></dd><dt><span class="chapter"><a href="idea_plugin.html">67. The IDEA Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="idea_plugin.html#sec:idea_usage">67.1. Usage</a></span></dt><dt><span class="section"><a href="idea_plugin.html#sec:idea_tasks">67.2. Tasks</a></span></dt><dt><span class="section"><a href="idea_plugin.html#sec:idea_configuration">67.3. Configuration</a></span></dt><dt><span class="section"><a href="idea_plugin.html#sec:idea_customizing_the_generated_files">67.4. Customizing the generated files</a></span></dt><dt><span class="section"><a href="idea_plugin.html#sec:further_things_to_consider">67.5. Further things to consider</a></span></dt></dl></dd></dl></div></div><div class="navfooter"><div><div class="navbar"><a xmlns:xslthl="http://xslthl.sf.net" href="test_kit.html" title="The Gradle TestKit - Gradle User Guide Version 3.4.1">Previous</a><span>|</span><a xmlns:xslthl="http://xslthl.sf.net" href="userguide.html" title="Gradle User Guide Version 3.4.1">Contents</a><span>|</span><a xmlns:xslthl="http://xslthl.sf.net" href="tutorial_java_projects.html" title="Java Quickstart - Gradle User Guide Version 3.4.1">Next</a></div></div></div></body></html>