Improved plugin
Upgrade to Gradle Wrapper 1.8. Added support for configuring provider. Added unit tests.