fixed gradle config to remove redundancy