Turn into gradle library project