Added gradle support keeping folder structure