Update gradle plugin to 0.12 and wrapper to 1.12