There is no blanket exclusion from mandatory voting, but the electoral act is clear that you may be able to provide what is referred to as a “valid and sufficient reason” for not voting, and generally a religious conviction would be one of those valid and sufficient reasons.
On July 26th, 2016. See this statement in context.