Austin Barnes' run-scoring single in the fifth inning helped break a scoreless tie and launch the Dodgers to a 3-0 win over the Milwaukee Brewers.