It was the eighth time the Dodgers have been shutout this season, but just the second time at home, joining July 5 against the Mets.
Gray struck out nine on the night, and didn't allow anyone to reach base until Adrian Gonzalez doubled in the fourth inning. That was one of just three Dodgers hits on the night. But hey, they also walked once.
A single by Howie Kendrick in the ninth inning brought Gonzalez to the plate as the tying run with two outs in the ninth, but Gray got him to fly out to center field to end the game.
"There were a couple of hard-hit balls, but other than that not a lot going on," manager Don Mattingly said.
Gray also singled in the eighth inning for his first major league hit. It was his seventh major league plate appearance, and first game batting this season.
Brett Anderson was just fine on six days rest, pitching one week after leaving a start early with an Achilles injury. The first five pitches of the game told the story of the night, really.
He allowed a first-pitch single by Billy Burns, a line drive back through the box that knocked Anderson down.
"I wasn't really easing into the game," Anderson quipped. "It was a rocket at your face for the first pitch and you realize you're right back at it."
Anderson then walked Marcus Semien on four pitches, setting Oakland up with a rally. Anderson being Anderson, he allowed three ground balls to end the inning, but the first two of them were enough to bring home the run.
From there Anderson cruised, not allowing another run until Josh Reddick homered in the seventh inning. That was one of just three fly balls allowed in seven innings by Anderson, who induced 14 ground ball outs.
"It was kind of typical Brett. He got ground balls, changed speeds," Mattingly said. "He was pretty good."
Reddick also doubled and singled in the game.
Home run: Josh Reddick (13)
WP - Sonny Gray (11-4): 9 IP, 3 hits, 1 walk, 9 strikeouts
LP -(5-6): 7 IP, 5 hits, 2 runs, 1 walk, 2 strikeouts