Remove mavenLocal() repo and maven plugin, set version to 2.0.0-M1.
Fix executable bit of gradlew.