Rock the Gradle, rule the world
summary
Shows how a local Gradle module named buildSrc compiles first and becomes a classpath plugin, demonstrates writing a Kotlin/Groovy plugin that uses Fuel for HTTP to fetch translations, wires a download-strings task added as dependency onto Android’s generateResources so strings land before R.java, adds inputs/outputs and a fake daily timestamp to control up-to-date checks, and proves unit testing via ProjectBuilder (with reflection to call evaluate) and small injectable downloader classes so the system actually works end to end.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:38A brief Gradle introduction
- 6:34Helper classes / methods • Custom tasks in dedicated classes
- 7:59Step 1: Create a buildSrc folder
- 9:48Dependency Management
- 13:05Helper class/methods
- 31:14Tips and Tricks
- 37:10What next? • Cleanup your Gradle scripts
related talks
44mA Healthy Dose of Gradle
22mIntegrating Kotlin Code into the Gradle Build Process
56mDeep Dive into the Android Gradle Plugin
33mCrash Course in building your First Gradle Plugin
58mGradle: Harder, Better, Stronger, Faster
49mGradle plugins: take it to the next level (en)
22mGradle Ex Machina
19mYour Build, Your Rules
