new gradle function to determine latest version of dependencies available - needed for SecurityCampion tasks