Learning Gradle

Learning Gradle

52mBeginner2020-10-28

Authors

Benjamin Muschko

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

Introduction

  • Automate everything
  • What you should know

Getting Started

  • What is Gradle
  • Installing Gradle
  • Hello world
  • Gradle's domain-specific language
  • Using the Gradle Wrapper
  • Executing Gradle from the IDE

Gradle Essentials

  • Build files and conventions
  • Defining and configuring a task
  • The directed acyclic graph (DAG)
  • Build lifecycle phases
  • Applying reusable functionality with plugins
  • Domain object runtime representation
  • Referencing the documentation
  • Challenge - Define and execute a task
  • Solution - Define and execute a task

Conclusion

  • Next steps
40,000 Toman