Chapter 8. Organizing Build Logic and Plugins
Plugins are one of the major building blocks of Gradle, which we have not discussed much until now. You have seen different standard plugins such as Java, Eclipse, Scala, and so on, which comes with a set of defined tasks. Developers just include the plugin, configure the required tasks, and leverage the functionalities. In this chapter, we will get an overview of what a plugin is, how you can group tasks to a plugin, how you can extract the plugin logic from a build file to buildSrc
, and also how to create a standalone plugin.