Part V. Building JVM projects

Table of Contents

46. Java Quickstart
46.1. The Java plugin
46.2. A basic Java project
46.3. Multi-project Java build
46.4. Where to next?
47. The Java Plugin
47.1. Usage
47.2. Source sets
47.3. Tasks
47.4. Project layout
47.5. Dependency management
47.6. Convention properties
47.7. Working with source sets
47.8. Javadoc
47.9. Clean
47.10. Resources
47.11. CompileJava
47.12. Incremental Java compilation
47.13. Compile avoidance
47.14. Test
47.15. Jar
47.16. Uploading
47.17. Compiling and testing for Java 6
48. The Java Library Plugin
48.1. Usage
48.2. API and implementation separation
48.3. Recognizing API and implementation dependencies
48.4. The Java Library plugin configurations
48.5. Known issues
49. Web Application Quickstart
49.1. Building a WAR file
49.2. Running your web application
49.3. Summary
50. The War Plugin
50.1. Usage
50.2. Tasks
50.3. Project layout
50.4. Dependency management
50.5. Convention properties
50.6. War
50.7. Customizing
51. The Ear Plugin
51.1. Usage
51.2. Tasks
51.3. Project layout
51.4. Dependency management
51.5. Convention properties
51.6. Ear
51.7. Customizing
51.8. Using custom descriptor file
52. The Jetty Plugin
52.1. Usage
52.2. Tasks
52.3. Project layout
52.4. Dependency management
52.5. Convention properties
53. The Application Plugin
53.1. Usage
53.2. Tasks
53.3. Convention properties
54. The Java Library Distribution Plugin
54.1. Usage
54.2. Tasks
54.3. Including other resources in the distribution
55. Groovy Quickstart
55.1. A basic Groovy project
55.2. Summary
56. The Groovy Plugin
56.1. Usage
56.2. Tasks
56.3. Project layout
56.4. Dependency management
56.5. Automatic configuration of groovyClasspath
56.6. Convention properties
56.7. Source set properties
56.8. GroovyCompile
56.9. Compiling and testing for Java 6
57. The Scala Plugin
57.1. Usage
57.2. Tasks
57.3. Project layout
57.4. Dependency management
57.5. Automatic configuration of scalaClasspath
57.6. Configuring the Zinc compiler
57.7. Convention properties
57.8. Source set properties
57.9. Compiling in external process
57.10. Incremental compilation
57.11. Compiling and testing for Java 6
57.12. Eclipse Integration
57.13. IntelliJ IDEA Integration
58. The ANTLR Plugin
58.1. Usage
58.2. Tasks
58.3. Project layout
58.4. Dependency management
58.5. Convention properties
58.6. Source set properties
58.7. Controlling the ANTLR generator process
59. The Checkstyle Plugin
59.1. Usage
59.2. Tasks
59.3. Project layout
59.4. Dependency management
59.5. Configuration
59.6. Customizing the HTML report
60. The CodeNarc Plugin
60.1. Usage
60.2. Tasks
60.3. Project layout
60.4. Dependency management
60.5. Configuration
61. The FindBugs Plugin
61.1. Usage
61.2. Tasks
61.3. Dependency management
61.4. Configuration
61.5. Customizing the HTML report
62. The JDepend Plugin
62.1. Usage
62.2. Tasks
62.3. Dependency management
62.4. Configuration
63. The PMD Plugin
63.1. Usage
63.2. Tasks
63.3. Dependency management
63.4. Configuration
64. The JaCoCo Plugin
64.1. Getting Started
64.2. Configuring the JaCoCo Plugin
64.3. JaCoCo Report configuration
64.4. Enforcing code coverage metrics
64.5. JaCoCo specific task configuration
64.6. Tasks
64.7. Dependency management
65. The OSGi Plugin
65.1. Usage
65.2. Implicitly applied plugins
65.3. Tasks
65.4. Dependency management
65.5. Convention object
66. The Eclipse Plugins
66.1. Usage
66.2. Tasks
66.3. Configuration
66.4. Customizing the generated files
67. The IDEA Plugin
67.1. Usage
67.2. Tasks
67.3. Configuration
67.4. Customizing the generated files
67.5. Further things to consider