Home sale after divorce. 70/30 Split

We sold our house in 2021. The divorce settlement gives my ex 70% of the proceeds and I got 30%. How do I report the sale in TurboTax? The 1099-S I received shows the gross amount due me but it does not reflect what I actually received. Do I deduct 30% of the closing costs? Also in reporting the original purchase price of the house and any improvements do I report 30% of those items as well?