Skip to content

transformXXX tasks are failing due to missing JDK9 toolchain #506

Open
@fzhinkin

Description

After 589ad80, transformXXX Gradle tasks require JDK9 to run and it's not that trivial to find and set it up for MacOS/Aarch64. It would be nice to either setup auto-provisioning of some sort or relax the version requirement to use any JDK version higher or equal to 9.

Right now, build configuration fails with:

Configuration cache state could not be cached: field `javaLauncher` of task `:atomicfu:transformBOTH` of type `org.gradle.api.tasks.JavaExec`: error writing value of type 'org.gradle.api.internal.provider.DefaultProperty'
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=9, vendor=any vendor, implementation=vendor-specific} for MAC_OS on aarch64.
   > No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions