Integrate with ant-build-script to optimise files when publishing