Learning Gradle
52mBeginner2020-10-28
Authors

Benjamin Muschko
Software Engineer, Consultant, and Trainer
Course details
Busy developers need ways to automate! This course teaches core concepts and building blocks of using Gradle, an open-source build automation tool. Learn how to install Gradle on your machine and explore how to use its functionality. Instructor Benjamin Muschko walks you through how to define build logic in Gradle, how to equip a project with the Gradle Wrapper, how to use Gradle support in IntelliJ IDEA, and how to define and configure a task. See how Gradle runs tasks based on your command. Learn the three phases of build execution in Gradle. Go over how to locate and apply plugins. Discover how to tie back a build script element to the underlying documentation and how to create a new task that creates a compressed TAR file. Round out the course with a brief overview on helpful tooling and gain insights from taking a deeper look a Gradle build. After working through this course, you'll be able to implement and execute build logic with Gradle.
Skills covered
GradleJavaOracleSoftware Development ToolsLearningOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Automate everything
- 02 - What you should know
1. Getting Started
- 03 - What is Gradle
- 04 - Installing Gradle
- 05 - Hello world
- 06 - Gradle's domain-specific language
- 07 - Using the Gradle Wrapper
- 08 - Executing Gradle from the IDE
2. Gradle Essentials
- 09 - Build files and conventions
- 10 - Defining and configuring a task
- 11 - The directed acyclic graph (DAG)
- 12 - Build lifecycle phases
- 13 - Applying reusable functionality with plugins
- 14 - Domain object runtime representation
- 15 - Referencing the documentation
- 16 - Challenge - Define and execute a task
- 17 - Solution - Define and execute a task
Conclusion
- 18 - Next steps