GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

New JLBP - Libraries should not expose unnecessary implementations in dependency tree.

オープン
#499 コメント 4 件 リアクション 0 件 担当者 1 名 @elharo が担当を希望しています GitHub で見る
best practices p3
主要言語
Java
スター
163
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

説明

Libraries should use API interfaces as much as possible. In terms of logging, depend on Logging API interfaces (e.g., slf4j). However, in order for slf4j to print out the log somewhere, it requires a binding (e.g., slf4j-log4j). The binding (implementation) should not be exposed to library consumer via transitive dependency. Bindings/implementations such as this should be set as `optional` so that it doesn't expose to the user depending on this library.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。