Fetching correct version of sdk via gradle