fix artifact name
refactor gradle scripts