The user guide talks about convention mapping but gives no details, as far as I can tell. There is a figure 21.6 that says convention object. Where? What part? It is doing what?
I see that there is an interface called Convention that says it is for managing a set of convention objects. How does this relate to the convention mapping mentioned in the user guide? Various plugins in gradle use a class with a name ending in Convention. I don’t see any of them implementing any of the methods. And I see plugins using project.getConvention().getPlugins.put(“somename”, convention) where convention is an instance of the class which has a name ending with Convention. What is that doing?.
Presumably, I can retrieve a convention object associated with a plugin and read properties. What is this doing other than associating a property with a plugin? How is it different from properties or an interface? If there is some convention to be learned from these things, what is that convention?