using correct version of metrics-scala based on scala version