move to gradle

Change-Id: I86beee84be9f4ba5f098082084c00f916e8de045