Apply application plugin in gradle