added gradle support to demo project