Deductions & credits

Regarding the line above, "Under the TCJA...only real estate qualifies for like-kind exchange," our Dec 2018 vehicle trade-in produces a capital gain...which unfortunately raises my taxes due, even though the vehicle trade-in cost us plenty out of pocket.  Is there any way around this capital gain?  Sounds like before TCJA, we could avoid capital gain by claiming like-kind exchange, but now there is no alternative and we have to pay taxes on this "gain" that really doesn't feel at all like a gain to our pockets?