Updated build.gradle to use the released version of `gradle-plugin-r`
and added documentation.