Support gradle's application plugin