title: gradle's new plugins dsl syntax
body: <p>I'm currently learning gradle build tool, specifically the <a href="https://docs.gradle.org/current/userguide/plugins.html#sec:plugins_block" rel="nofollow noreferrer">new plugins DSL syntax</a>, in the documentation. In the link, the author mentioned </p>
  
  <p><a href="https://i.stack.imgur.com/vIVnn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vIVnn.png" alt="enter image description here"></a> </p>
  
  <p>I understand that for every <code>build.gradle</code> file, gradle implicitly create an object of type <code>Project</code> for the programmers to use and every variable/methods declared in the <code>build.gradle</code> file is implicitly attached to the <code>Project</code> object, so I looked up the <a href="https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#project-java.lang.String-groovy.lang.Closure-" rel="nofollow noreferrer">Project class API documentation</a> for a method called <code>plugins</code> that accept an closure as its first argument, but none exist. </p>
  
  <p>I understand the newer plugins dsl syntax is intend to replace the traditional <code>apply()</code> method mechanism. But why I cant find the <code>plugins</code> method in the <code>Project</code> class's documentation? </p>