Ireland brought the curtain down on the Autumn Nations Series with a 22-19 victory over Australia in Dublin on Saturday.