making glacier restore work with gradle