Updated build.gradle to latest version (0.11.+)

This PR is a replacement for #17. He forgot to update Gradle to 1.12 and to change the travis config file.
No need to depend on SNAPSHOT versions.