BigQuery: google-cloud-bigquery 2.31.0 breaks compatibility with Kotlin 1.6 via dependency on auto-value 1.10.2 #2852
Labels
api: bigquery
Issues related to the googleapis/java-bigquery API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: process
A process-related concern. May include testing, release, or the like.
Environment details
Steps to reproduce
com.google.cloud:google-cloud-bigquery
2.31.0 in a Kotlin 1.6 project[ERROR] /path/to/.m2/repository/com/google/auto/value/auto-value/1.10.2/auto-value-1.10.2.jar!/META-INF/kotlin-stdlib-common.kotlin_module: (-1, -1) Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
However, with
google-cloud-bigquery
2.30.1 it works.It seems this is caused by the update to auto-value 1.10.2, which broke compatibility with Kotlin 1.6. It looks like
auto-value
is exploring a solution that might restore compatibility with these Kotlin versions.I encountered this issue while using Spring Cloud GCP 3.6.1 or later, because that is the first version that (transitively) includes
google-cloud-bigquery
2.31.0. See here for a bug report with a sample reproduction project that demonstrates this issue.The text was updated successfully, but these errors were encountered: