Use localrepo when testing Gradle snippets (#248)
Enable testing of snippet in heroku chapter (#248)