Initial code

Can you put this in gradle.properties? Then you can use it for the plugin version too, and it'll be easier to merge from other 2.2.x like branches.