Plugin Development

Learn how to author your own Gradle plugins

June 1, 2023

9:00 AM - 11:30 AM PST


Description

The Gradle Build Tool has a plugin framework that allows you to package reusable pieces of build logic that can be applied to different independent projects. You can author plugins to share new tasks, conventions as well as extend existing functionality.

By the end of this training you will learn how to develop, test and publish your own Gradle plugins.

Duration

2.5 hours training session

Audience

This class is designed for Gradle Build Tool users that want to author their own plugins.

Prerequisites

  • Gradle Build Tool experience including:
    • Understanding of core Gradle build concepts
    • Authoring and editing build files
    • Working with convention plugins (either buildSrc or includeBuild)
  • Some experience developing in Kotlin

Objectives

  • Learn how to develop maintainable Gradle plugins

Course Outline

  • Overview of Gradle plugins
  • Develop a Gradle plugin
    • Authoring build logic
    • Writing tests
    • Publishing
  • Next Steps