The decision reverses a jury verdict from last year.
That decision came five years after Gray and two co-authors first sued.
Judge Snyder evidently agreed with Lepera.

Katy Perry.Cameron Spencer/Getty Images
Gray, however, will still be able to appeal the ruling to the Ninth Circuit.
ReadJudge Snyder’s full opinion here.