Add initial gradle support to sample