Skip to content

Target older Kotlin stdlib to support Gradle 8.14 #20

@vlsi

Description

@vlsi

Currently the plugin targets the latest kotlin stdlib, thus it yields the following error when org.checkerframework 1.0.2 applies with Gradle 8.14:

e: file:///home/runner/.gradle/caches/modules-2/files-2.1/org.checkerframework/checker-framework-gradle-plugin/1.0.2/d301b3076ef2f16810aa368d04fdbc88c497cbf9/checker-framework-gradle-plugin-1.0.2.jar!/META-INF/checker-framework-gradle-plugin.kotlin_module
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.2.0, expected version is 2.0.0.

Please configure apiVersion, coreLibrariesVersion, languageVersion so the plugin is workable with older Gradle versions.
Targeting the latest one only makes it hard for the users to bump individual dependencies.


To put a concrete example:


See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions