Created gradle file for examples.