module com.github.benmanes.caffeine {
  exports com.github.benmanes.caffeine.cache;
  exports com.github.benmanes.caffeine.cache.stats;

  requires static com.google.errorprone.annotations;
  requires static org.checkerframework.checker.qual;
}

module com.github.benmanes.caffeine {
  exports com.github.benmanes.caffeine.cache;
  exports com.github.benmanes.caffeine.cache.stats;

  requires static transitive com.google.errorprone.annotations;
  requires static transitive org.checkerframework.checker.qual;
}

--- 
+++ 
@@ -2,6 +2,6 @@
   exports com.github.benmanes.caffeine.cache;
   exports com.github.benmanes.caffeine.cache.stats;
 
-  requires static transitive com.google.errorprone.annotations;
-  requires static transitive org.checkerframework.checker.qual;
+  requires static com.google.errorprone.annotations;
+  requires static org.checkerframework.checker.qual;
 }
Drop `transitive` from annotations Caffeine requires