Update gradlew to 2.2
Replace buildscript block with plugins block.