Move to gradle 2.2.1
Fixes #3. Limit releases to certain branches.
Merge pull request #6 from rspieldenner/gradle-2.2

Limit releases to certain branches