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 Application Plugin
52.1. Usage
52.2. Tasks
52.3. Convention properties
53. The Java Library Distribution Plugin
53.1. Usage
53.2. Tasks
53.3. Including other resources in the distribution
54. Groovy Quickstart
54.1. A basic Groovy project
54.2. Summary
55. The Groovy Plugin
55.1. Usage
55.2. Tasks
55.3. Project layout
55.4. Dependency management
55.5. Automatic configuration of groovyClasspath
55.6. Convention properties
55.7. Source set properties
55.8. GroovyCompile
55.9. Compiling and testing for Java 6
56. The Scala Plugin
56.1. Usage
56.2. Tasks
56.3. Project layout
56.4. Dependency management
56.5. Automatic configuration of scalaClasspath
56.6. Configuring the Zinc compiler
56.7. Convention properties
56.8. Source set properties
56.9. Compiling in external process
56.10. Incremental compilation
56.11. Compiling and testing for Java 6
56.12. Eclipse Integration
56.13. IntelliJ IDEA Integration
57. The ANTLR Plugin
57.1. Usage
57.2. Tasks
57.3. Project layout
57.4. Dependency management
57.5. Convention properties
57.6. Source set properties
57.7. Controlling the ANTLR generator process
58. The Checkstyle Plugin
58.1. Usage
58.2. Tasks
58.3. Project layout
58.4. Dependency management
58.5. Configuration
58.6. Customizing the HTML report
59. The CodeNarc Plugin
59.1. Usage
59.2. Tasks
59.3. Project layout
59.4. Dependency management
59.5. Configuration
60. The FindBugs Plugin
60.1. Usage
60.2. Tasks
60.3. Dependency management
60.4. Configuration
60.5. Customizing the HTML report
61. The JDepend Plugin
61.1. Usage
61.2. Tasks
61.3. Dependency management
61.4. Configuration
62. The PMD Plugin
62.1. Usage
62.2. Tasks
62.3. Dependency management
62.4. Configuration
63. The JaCoCo Plugin
63.1. Getting Started
63.2. Configuring the JaCoCo Plugin
63.3. JaCoCo Report configuration
63.4. Enforcing code coverage metrics
63.5. JaCoCo specific task configuration
63.6. Tasks
63.7. Dependency management
64. The OSGi Plugin
64.1. Usage
64.2. Implicitly applied plugins
64.3. Tasks
64.4. Convention object
65. The Eclipse Plugins
65.1. Usage
65.2. Tasks
65.3. Configuration
65.4. Customizing the generated files
66. The IDEA Plugin
66.1. Usage
66.2. Tasks
66.3. Configuration
66.4. Customizing the generated files
66.5. Further things to consider