The agreement came as the Dodgers' exclusive window to negotiate with Ryu's South Korean team was about to close.
Los Angeles won that right by posting $25.7 million with the Hanwha Eagles.
Ryu, 25, is a seven-year veteran of the Korea Baseball Organization, compiling a 98-52 record with a 2.80 ERA during his Asian career.
Ray Liotta sues skin care company over use of likeness
Millions of Getty images now available for free via embed tool