Sometimes we have to ask for help, and that's OK
Limitations of the plugins DSL
This way of adding plugins to project is much more than a more convenient syntax, The plugins DSL is processed in a way which
allows Gradle to determine(确定) the plugins in use very early and very quickly.
This allows Gradle to do smart things such as:
- Optimize the loading and reuse of plugin classes.
- Allow different plugins to use different versions of dependencies.
- Provide editors detailed information about the potential properties and values in the buildscript for editing assistance.