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.
Justin Bieber crashes Drake Bell's album release party
Members of Congress to keep receiving porn magazine