ASX posts mild gains

Australian shares closed higher as investors focused on earnings from some of the country's biggest companies.