replace groovy dependency with compile dependency