Setting classifierWithLikes changes the content of the classifier. Because there is only one classifier instance in on JVM, if different components want different classifierWithLikes settings, they will run into each other. A real world example is in gRPC Java build, both tcnative artifact and protobuf-gradle-plugin are using classifier, while tcnative sets classifierWithLikes and protobuf-gradle-plugin doesn't.
We should either allow multiple classifiers in a JVM (by making it non-static), or remove the classifierWithLikes feature.
@ejona86
Setting
classifierWithLikeschanges the content of the classifier. Because there is only one classifier instance in on JVM, if different components want differentclassifierWithLikessettings, they will run into each other. A real world example is in gRPC Java build, both tcnative artifact and protobuf-gradle-plugin are using classifier, while tcnative setsclassifierWithLikesand protobuf-gradle-plugin doesn't.We should either allow multiple classifiers in a JVM (by making it non-static), or remove the
classifierWithLikesfeature.@ejona86