onobc commented on code in PR #124:
URL: 
https://github.com/apache/pulsar-client-reactive/pull/124#discussion_r1167741388


##########
pulsar-client-reactive-producer-cache-caffeine-shaded/build.gradle:
##########
@@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+plugins {
+       id 'pulsar-client-reactive.codestyle-conventions'
+       id 'pulsar-client-reactive.library-conventions'
+       id 'com.github.johnrengelman.shadow' version '7.1.2'
+}
+
+dependencies {
+       api project(':pulsar-client-reactive-adapter')
+       implementation libs.caffeine
+       shadow project(':pulsar-client-reactive-adapter')
+       testImplementation libs.junit.jupiter
+       testImplementation libs.assertj.core
+       testImplementation libs.reactor.test
+       testImplementation libs.mockito.core
+}
+
+description = "Caffeine (shaded) implementation of producer cache"
+
+jar {

Review Comment:
   We set classifier on non-shaded to be `original`. We then set the classifier 
null on the shadow jar - this makes the shadow jar look like the normal jar 
(coordinates). 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to