How to build a non-corrosive soil moisture sensor?

Would you give more information on what your application is?