Skip to content

Cannot be used with Gradle 6 & JRE 8 #338

@jGleitz

Description

@jGleitz

I am mainly opening this to show that the maintainers of this project are aware of the problem.

The underlying problem is robstoll/kbox#26, which I am working on.

How to reproduce the problem

Use atrium 0.9 on a JRE version 8 with gradle 6.

Describe the bug

The build will fail with an error message like this:

> Task :compileTestKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestKotlin'.
> Could not resolve all files for configuration ':testCompileClasspath'.
   > Could not resolve ch.tutteli.kbox:kbox:0.14.1.
     Required by:
         project : > ch.tutteli.atrium:atrium-cc-en_GB-robstoll:0.9.0 > ch.tutteli.atrium:atrium-core-api:0.9.0
      > Unable to find a matching variant of ch.tutteli.kbox:kbox:0.14.1:
          - Variant 'apiElements' capability ch.tutteli.kbox:kbox:0.14.1:
              - Incompatible attribute:
                  - Required org.gradle.jvm.version '8' and found incompatible value '9'.

              - Other attributes:
                  - Found org.gradle.category 'library' but wasn't required.

See, for example, https://github.com/jGleitz/string-notation/pull/14/checks?check_run_id=422070218

Expected behaviour

The build succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions