The eight men plied the girl with cocaine and cannabis, a court heard