Skip to content

Set TARGET_JVM_VERSION_ATTRIBUTE as another default attribute #103

@jjohannes

Description

@jjohannes

Add something like the following here:

int jdkVersion = java.toolchain.languageVersion.map { it.asInt() }
attributes.attributeProvider(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, jdkVersion)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions