googleapis / googleapis/google-cloud-java

[java-bigquery] auto-value is included in the dependency

オープン
#12,165 コメント 3 件 リアクション 0 件 担当者 1 名 @Neenu1995 が担当を希望しています GitHub で見る
api: bigquery priority: p2 type: cleanup
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

It seems that the `auto-value` is included in the dependency, and it makes runtime images (e.g. shaded jar files) unexpectedly large.

[This package is used only in compilation time](https://github.com/google/auto/blob/main/value/userguide/index.md), so it is better to remove it from the runtime classpath.

#### Environment details

This issue is not related to the environment.

#### Steps to reproduce

1. Visit https://mvnrepository.com/artifact/com.google.cloud/google-cloud-bigquery/2.30.1 to see dependencies, or
2. run `./gradlew dependencies` or `mvn dependency:tree`

#### Any additional information below

User may apply a workaround as follows:

```kotlin
// build.gradle.kts
dependencies {
implementation("com.google.cloud:google-cloud-bigquery") {
exclude("com.google.auto.value", "auto-value")
}
}
```

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

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

評価

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

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

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