Uniaxial compression of bonded and lubricated gels