Part V. Building JVM projects

Table of Contents

47. Java Quickstart
47.1. The Java plugin
47.2. A basic Java project
47.3. Multi-project Java build
47.4. Where to next?
48. The Java Plugin
48.1. Usage
48.2. Source sets
48.3. Tasks
48.4. Project layout
48.5. Dependency management
48.6. Convention properties
48.7. Working with source sets
48.8. Javadoc
48.9. Clean
48.10. Resources
48.11. CompileJava
48.12. Incremental Java compilation
48.13. Compile avoidance
48.14. Test
48.15. Jar
48.16. Uploading
48.17. Compiling and testing for Java 6 or Java7
49. The Java Library Plugin
49.1. Usage
49.2. API and implementation separation
49.3. Recognizing API and implementation dependencies
49.4. The Java Library plugin configurations
49.5. Known issues
50. Web Application Quickstart
50.1. Building a WAR file
50.2. Running your web application
50.3. Summary
51. The War Plugin
51.1. Usage
51.2. Tasks
51.3. Project layout
51.4. Dependency management
51.5. Convention properties
51.6. War
51.7. Customizing
52. The Ear Plugin
52.1. Usage
52.2. Tasks
52.3. Project layout
52.4. Dependency management
52.5. Convention properties
52.6. Ear
52.7. Customizing
52.8. Using custom descriptor file
53. The Jetty Plugin
54. The Application Plugin
54.1. Usage
54.2. Tasks
54.3. Convention properties
55. The Java Library Distribution Plugin
55.1. Usage
55.2. Tasks
55.3. Including other resources in the distribution
56. Groovy Quickstart
56.1. A basic Groovy project
56.2. Summary
57. The Groovy Plugin
57.1. Usage
57.2. Tasks
57.3. Project layout
57.4. Dependency management
57.5. Automatic configuration of groovyClasspath
57.6. Convention properties
57.7. Source set properties
57.8. GroovyCompile
57.9. Compiling and testing for Java 6 or Java 7
58. The Scala Plugin
58.1. Usage
58.2. Tasks
58.3. Project layout
58.4. Dependency management
58.5. Automatic configuration of scalaClasspath
58.6. Configuring the Zinc compiler
58.7. Convention properties
58.8. Source set properties
58.9. Compiling in external process
58.10. Incremental compilation
58.11. Compiling and testing for Java 6 or Java 7
58.12. Eclipse Integration
58.13. IntelliJ IDEA Integration
59. The ANTLR Plugin
59.1. Usage
59.2. Tasks
59.3. Project layout
59.4. Dependency management
59.5. Convention properties
59.6. Source set properties
59.7. Controlling the ANTLR generator process
60. The Checkstyle Plugin
60.1. Usage
60.2. Tasks
60.3. Project layout
60.4. Dependency management
60.5. Configuration
60.6. Customizing the HTML report
61. The CodeNarc Plugin
61.1. Usage
61.2. Tasks
61.3. Project layout
61.4. Dependency management
61.5. Configuration
62. The FindBugs Plugin
62.1. Usage
62.2. Tasks
62.3. Dependency management
62.4. Configuration
62.5. Customizing the HTML report
63. The JDepend Plugin
63.1. Usage
63.2. Tasks
63.3. Dependency management
63.4. Configuration
64. The PMD Plugin
64.1. Usage
64.2. Tasks
64.3. Dependency management
64.4. Configuration
65. The JaCoCo Plugin
65.1. Getting Started
65.2. Configuring the JaCoCo Plugin
65.3. JaCoCo Report configuration
65.4. Enforcing code coverage metrics
65.5. JaCoCo specific task configuration
65.6. Tasks
65.7. Dependency management
66. The OSGi Plugin
66.1. Usage
66.2. Implicitly applied plugins
66.3. Tasks
66.4. Convention object
67. The Eclipse Plugins
67.1. Usage
67.2. Tasks
67.3. Configuration
67.4. Customizing the generated files
68. The IDEA Plugin
68.1. Usage
68.2. Tasks
68.3. Configuration
68.4. Customizing the generated files
68.5. Further things to consider