Power of Gradle
summary
Comparative claim: Gradle replaces brittle XML with a dynamic Groovy DSL and wins on incremental tasks and parallel execution. Demo builds a simple Java project, adds JUnit 4.11 as a dependency, fixes a failing test, and produces compiled classes and reports; local caches appear in .gradle and user-level .gradle. Shows creating a custom task type (Java class extends DefaultTask with @TaskAction), wiring it into the build to send an email using gradle.properties, and migrating a multi-module Maven reactor into Gradle (works live). Groovy DSL drives plugins and migration.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 4:46Build tools overview
- 9:22Maven and XML issues
- 13:38First Gradle project
- 22:25Configurations and dependencies
- 29:56Gradle tasks and properties
- 35:39Task customization
- 44:36Custom tasks
- 50:41Property files
- 57:05Writing plugins
- 1:00:25Migrating from Maven
related talks
49mGradle Ex Machina
02h 49mGradle: Give Your Build Some Love and It Will Love You Back!
01h 15mKeeping growing software projects under control with Gradle
44mGradle: The Build System That Loves To Hate You
51mGradle Plugin, Take Control of the Build!
48mGradle 3.0 and beyond for Android Development
21mMake Gradle work for you, create your own tasks and plugins
56mDeep Dive into the Android Gradle Plugin
