Our Savior absolutely upheld every command given by God the Father to the Jews that was not superseded by His Advent, Passion, Death and Resurrection. That includes the commandments that forbid the perversion of a man lying with a man as with a woman, or women lying with women (by logical deduction).
In short, if St. Paul the Apostle spoke clearly against the sin of sodomy (AND against approving of it; read the first chapter of the Epistle to the Romans), you can be sure that Our Lord certainly was against it; after all, in the Epistle to the Galatians, St. Paul says that his teaching was revealed to him by Jesus Christ Our Lord Himself.
Very simple question, simple answer. Also, note that St. John the Apostle also condemns the effeminate and the pervert in his Apocalypse. Again, if an Apostle said it, it's because it has the stamp of Our Lord's approbation on it, and you can, as they say, 'take that to the bank'.
Immaculate Heart of Mary, triumph soon.
Sacred Heart of Jesus, have mercy on us.