Capacitance is usually measured as part of an RC circuit.
So either you use it in an oscillator and measure the frequency (higher frequency = lower capacity = dryer soil), or by measuring the discharge time of the capacitor (shorter time = lower capacity = dryer soil).