Skip to content

CQL build has circular dependencies #1677

@Steve-120

Description

@Steve-120

I'm running the starter code ./gradlew build with JDK 17.0.18, and I couldn't run the CQL engine afterwards as there is no ./cql/build/install folder. However, the cql-to-elm-cli works just fine.

It doesn't give any errors when doing ./gradlew build, except a warning from Kotlin:

The `embedded-kotlin` and `kotlin-dsl` plugins rely on features of Kotlin `2.0.20` that might work differently than in the requested version `2.2.10`.

I'm not sure if this is the correct way either, but I tried doing ./gradlew buildNeeded to also build its dependencies, but it gave me this error:


* What went wrong:
Circular dependency between the following tasks:
:cql:buildNeeded
+--- :qdm:buildNeeded
|    \--- :cql:buildNeeded (*)
\--- :quick:buildNeeded
     \--- :cql-to-elm:buildNeeded
          +--- :cql:buildNeeded (*)
          +--- :elm:buildNeeded
          |    +--- :cql-to-elm:buildNeeded (*)
          |    +--- :quick:buildNeeded (*)
          |    \--- :ucum:buildNeeded
          |         \--- :cql-to-elm:buildNeeded (*)
          +--- :qdm:buildNeeded (*)
          +--- :quick:buildNeeded (*)
          \--- :ucum:buildNeeded (*)

(*) - details omitted (listed previously)

Kindly advise, thank you!

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