Skip to content

auto-value 1.10.2 breaks compatibility with Kotlin 1.6 #1574

Closed
@breun

Description

@breun

Upgrading auto-value from 1.10.1 to 1.10.2 in a Kotlin 1.6 project results in:

[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.

The auto-value 1.10.2 release notes don't mention any Kotlin compatibility changes, but compared to version 1.10.1 compatibility with Kotlin 1.6 and 1.7 was broken.

  • auto-value 1.10.1 uses kotlinx-metadata-jvm 0.5.0, which uses kotlin-stdlib 1.7.0
  • auto-value 1.10.2 uses kotlinx-metadata-jvm 0.6.2, which uses kotlin-stdlib 1.8.0
  • auto-value HEAD-SNAPSHOT uses kotlinx-metadata-jvm 0.7.0, which uses kotlin-stdlib 1.9.0

Was compatibility with older Kotlin versions broken intentionally or accidentally?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions