Publishing to JCenter (v4)

v4 port of #118