Gradle Plugin: Resolution for configuration configuration ':quarkusDependency' will be skipped. #37712
Labels
area/gradle
Gradle
area/kotlin
env/windows
Impacts Windows machines
kind/bug
Something isn't working
triage/out-of-date
This issue/PR is no longer valid or relevant
Describe the bug
On the latest version of IntelliJ + Kotlin plugin (v233.11799.300) importing any Quarkus project that uses the Gradle plugin results in the following warning
root project '<project name>': Project configuration error
and an exception (see below).I suspect the issue is caused by the Quarkus plugin violating the IntelliJ's Kotlin/Gradle plugin new consistency check that detects cases when some Gradle's Domain Collections were mutated after Import happened (see: https://youtrack.jetbrains.com/issue/KT-62877/Artifact-files-collecting-for-project-configuration-was-finished.-Resolution-for-configuration-configuration-X-will-be-skipped).
On an older version of IntelliJ (I believe v232.xxx.xxx) this behaviour is not exhibited. The behaviour happens on both Linux and Windows environments.
Expected behavior
Importing the project in IntelliJ should work without warnings and/or exceptions. In an older version of IntelliJ v232.xxx there are no warnings/exceptions when importing the project.
Actual behavior
Importing the project in IntelliJ results in a warning and exception in the build window.
How to Reproduce?
Reproducer:
quarkus create app org.acme:rest-kotlin-quickstart --extension='kotlin,resteasy-reactive-jackson' --gradle-kotlin-dsl
root project 'rest-kotlin-quickstart': Project configuration error
andOutput of
uname -a
orver
Linux p15v 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk 17.0.9 2023-10-17
Quarkus version or git rev
3.6.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.5
Additional information
The text was updated successfully, but these errors were encountered: