"Behold, this was the sin of your sister, Sodom: she and her daughters had pride, excess of food, and prosperous ease but did not aid the poor and needy." (Ezekiel 16:49). There are three possible reasons for the destruction of Sodom: general wickedness, as shown in the opening quote; inhospitality, in a world where inns were a rarity travellers were dependant on the goodwill of strangers not just for their comfort but for their survival (see Deuteronomy 23:3-4) and homosexual intercourse.
"Bring them out that we might know them." These are the words the men of Sodom said of the strangers in their town. And Lot offered his virgin daughters to the crowd. If the men of Sodom were all homosexual, why would Lot offer his daughters? If the men (and women) of Sodom were intent on homosexual intercourse it would have constituted gang rape. Gang rape, under any moral code, would justify divine displeasure. In the ancient Middle East male rape was a way of expressing the lowest form of contempt. In the then culture anal sex meant that one partner had to play the passive role of a woman, thus making oneself worthless. From Lot's reaction we can already see how valued women are!
Jesus says nothing at all about homosexuality but he does talk about Sodom in terms of hospitality (Matthew 10:15). Nowhere does the Bible say that Sodom was destroyed because of homosexuality.