Eleven were jailed at Bradford Crown Court after being convicted of raping the girl in Keighley from the age of 13.
Another man was sentenced for sexual activity with the same girl.
The trial heard how the teenager was repeatedly attacked over a period of 13 months, between 2011 and 2012.
More on this story and others from West Yorkshire
She was made to have sex in various locations in the town, including an underground car park and a church graveyard.
The girl was described in court as leading a “chaotic existence” at the time and had been reported missing from home on more than 70 occasions over a two-year period.
‘Heartless sexual advantage’
Two of the men also received sentences for offences against other victims.
Judge Roger Thomas QC, sentencing, told the men: “She was only 13 or 14 when the 12 of you took such terrible and heartless sexual advantage of her.”
The jury previously heard her meetings with the men had been arranged by “drug dealer” Arif Choudhury, who was not on trial. [...]