Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular dependency on kspKotlin when used under Quarkus 3.9.3 #657

Open
laurentperez opened this issue Apr 14, 2024 · 3 comments
Open

Circular dependency on kspKotlin when used under Quarkus 3.9.3 #657

laurentperez opened this issue Apr 14, 2024 · 3 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@laurentperez
Copy link

Hello. Tried to use kotlin dataframe, but it does not compile when used under the quarkus framework https://quarkus.io/ 3.9.3

Steps to reproduce

  • quarkus create cli --kotlin --gradle
  • cd code-with-quarkus
  • ./gradlew quarkusRun
FAILURE: Build failed with an exception.

* What went wrong:
Circular dependency between the following tasks:
:kspKotlin
+--- :quarkusGenerateCode
|    \--- :processResources
|         \--- :kspKotlin (*)
\--- :quarkusGenerateCodeDev
     +--- :processResources (*)
     \--- :quarkusGenerateCode (*)

BUILD FAILED in 883ms

The dependency tree is below. ksp is com.google.devtools.ksp:symbol-processing:1.9.22-1.0.17

  • ./gradlew dependencies>tree.txt

tree.txt

@laurentperez
Copy link
Author

update

it build if I follow the steps of quarkusio/quarkus#29698

this looks like a quarkus problem, but the root issue has been closed on quarkus side.

unsure if the ksp dependency is required (?)

@Jolanrensen
Copy link
Collaborator

Thanks for the update!

We use KSP for the dataframe Gradle Plugin, to generate accessors for @DataSchema interfaces. This plugin is optional, but you might use it somewhere already.

@Kopilov
Copy link
Contributor

Kopilov commented Apr 22, 2024

I got the same problem, solved it by splitting dataframe-dependent and quarkus-dependent Gradle modules (and applying dataframe plugin on first module only)

@zaleslaw zaleslaw added this to the 0.14.0 milestone Apr 23, 2024
@zaleslaw zaleslaw added the help wanted Extra attention is needed label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants