Move to gradle 2.2.1
Fixes #3. Limit releases to certain branches.