Video description
Learn how to implement Gradle, the Groovy-based build automation system that can help you build and test software projects, from small to large. In this video course, Java consultant Ken Kousen demonstrates Groovy's relationship to Java, and takes a close look at POGOs—plain old Groovy objects—and how they define properties, access modifiers, and generate methods. You’ll learn all of the Groovy mechanisms in a simple, non-trivial application.
Kousen provides detailed Gradle examples, including the Spock testing framework, an overview of the Gradle builds for the Spring framework, and the default Gradle build for Android projects.
In this video course, you’ll explore:
- Java project builds: specify repositories and dependencies, execute the build, and view the test output
- Groovy project builds: learn additional tasks and dependencies for Groovy
- Custom tasks: list available build tasks, define custom tasks, and insert them into the directed acyclic graph
- Conditional task execution: understand how to control if and when to execute tasks with incremental builds
- Multi-project builds: learn how Gradle defines subdirectories as separate projects
- Miscellaneous features: generate a Gradle wrapper for clients who do not have it, and run the Gradle daemon to improve performance
- Plugins: get a survey of Gradle plugin architecture and learn how to use the application, war, Gretty, and IDE plugins
Ken Kousen, president of Kousen IT, Inc., is a technical trainer, mentor, and consultant in all areas related to Java, specializing in Android, Spring, Hibernate/JPA, Groovy, and Grails. He is the author of Making Java Groovy (Manning) and the upcoming O’Reilly book, Gradle for Android.
Publisher resources
Table of contents
-
Welcome and Introduction
- Installation and Configuration 00:12:11
- Documentation: User Guide, DSL Guide, and More 00:12:10
- Sample Build Files 00:06:45
- Where to Find Answers 00:04:19
-
Enough Groovy to Get By
- Static vs Dynamic Typing and Basic Syntax 00:09:29
- POGOs 00:17:10
- Collections and Closures 00:18:09
- Accessing the Google Geocoder 00:09:38
-
Basic Project Builds
- Java Projects 00:19:29
- Groovy Projects 00:13:52
- Directed Acyclic Graph and Source Sets 00:12:05
- Project Properties and Dependencies 00:20:54
-
Custom Tasks
- Identifying, Defining, and Executing Tasks 00:25:52
- Conditional Task Execution 00:12:14
-
Miscellaneous Features
- The Gradle Daemon 00:10:23
- Other Command Line Options 00:09:31
- Incubating Feature: The init Task 00:08:08
-
Plugin Survey
- Using Plugins 00:11:02
- The Application Plugin 00:03:26
- The War and Gretty Plugins 00:10:24
- IDE Plugins 00:09:25
-
Larger Examples
- A Web App with a Generated Database 00:11:30
- The Spock Testing Framework 00:18:29
- The Spring Framework and Spring Boot 00:09:52
- Android, Course Closing 00:12:42
Product information
- Title: Gradle Fundamentals
- Author(s):
- Release date: September 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491937266
You might also like
video
Reactive Spring Boot, 2nd Edition
6 Hours of Video Instruction Spring is the most used framework for building services and applications …
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
video
Clean Code
Expanded Edition (August 2018) Updated with Design Patterns episodes from the Clean Code series from Clean …
video
Algorithms: 24-part Lecture Series
Algorithms, Deluxe Edition, Fourth Edition These Algorithms Video Lectures cover the essential information that every serious …