Education Secretary Jenny Gilruth said the funding for Dundee University would be made available over three financial years.