The resolution brings to a close a more than decade-long legal battle after Assange released a cache of classified US defence documents alleging war crimes in Afghanistan and Syria.