Gauge-independent analysis of 2D-gravity