Part IV. Extending the build

Table of Contents

38. Writing Custom Task Classes
38.1. Packaging a task class
38.2. Writing a simple task class
38.3. A standalone project
38.4. Incremental tasks
39. Writing Custom Plugins
39.1. Packaging a plugin
39.2. Writing a simple plugin
39.3. Getting input from the build
39.4. Working with files in custom tasks and plugins
39.5. A standalone project
39.6. Maintaining multiple domain objects
40. The Java Gradle Plugin Development Plugin
40.1. Usage
41. Organizing Build Logic
41.1. Inherited properties and methods
41.2. Injected configuration
41.3. Configuring the project using an external build script
41.4. Build sources in the buildSrc project
41.5. Running another Gradle build from a build
41.6. External dependencies for the build script
41.7. Ant optional dependencies
41.8. Summary
42. Initialization Scripts
42.1. Basic usage
42.2. Using an init script
42.3. Writing an init script
42.4. External dependencies for the init script
42.5. Init script plugins
43. The Gradle TestKit
43.1. Usage
43.2. Functional testing with the Gradle runner