Gradle plugin development
       Writing Custom Plugin           Gradle is an open-source build automation system that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the XML.      Demonstrating gradle plugin development to generate customized sourceSet.     — ThirupathiReddy Vajjala         Writing Custom Plugin   Gradle makes it very easy to build custom binary plugins. You simply need to create a class that implements the org.gradle.api.Plugin<T> interface.    The plugin class and its code can be reside in one of the following three locations:      Build script : Can be directly embedded into the build script. This approach limits the reuse value of the plugin    buildSrc project : can reside under the buildSrc project is automatically compiled and is made available in the build scripts classpath.    Stand-alone project : can be bundled as a JAR file that can then be included in the build script’s classpath.     ...