add to ci

build either release or snapshot on master change (depending on gradle.properties)