Is the word "liking" used in the same way in the following two sentences?

I've always had a liking for reading.

She developed a liking for gin.
the same meaning