concept type in category gradle

This is an excerpt from Manning's book Gradle in Action - corrected 9052019.
This chapter will give you a gentle introduction into why it’s a good idea to automate your project and how build tools can help get the job done. We’ll talk about the benefits that come with sufficient project automation, the types and characteristics of project automation, and the tooling that enables you to implement an automated process.
The custom task class can’t be executed by itself. To use and configure the behavior defined by the custom task, you’ll need to create an enhanced task. The enhanced task declares the type of task it uses, in this case CloudBeesAppInfo, as shown in the next listing.
Let’s revisit how to use an object plugin in a project. You’ve seen that a project can be configured to use a standard plugin by using the apply method. I explicitly use the word method here to underline that you’re calling the method apply on the API representation of a Gradle project, an instance of class org.gradle.api.Project. The method defines one parameter of type java.util.Map called options. The specific option you want to use here is plugin. A plugin can be applied to a build script by using its name or type.