I had the roof replaced on my rental property and paid for part of it in 2018 and the rest in 2019. How would I enter this as a depreciable asset?

Should I enter the full cost of the roof on my 2018 taxes or only the portion I paid for in 2018?