What does gradle classifier: 'core'?

204 Views Asked by At

I had conflict with the protobuf dependency of hive and another package that depends on protobuf. I solved the problem with "classifier: 'core'":

implementation group: 'org.apache.hive', name: 'hive-exec', version: '3.1.2', classifier: 'core'

But what this does? where does the term 'core' come from in this filter?

1

There are 1 best solutions below

2
On BEST ANSWER

put simply its another filter criteria to get a sub-type for a GAV artifact in maven repository. useful when there are multiple flavours for a single artifact. Ex: jar per JDK version see more https://docs.gradle.org/current/userguide/variant_model.html#understanding-variant-selection