-
Notifications
You must be signed in to change notification settings - Fork 466
Any config to disable Circular Dependencies warning/error? #718
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
Comments
No it's not possible to disable it. You need to break the cycle. |
Yes, gradle. |
Can we reopen this? This is a feature of eclipse, so I'm presuming this can be done. Gradle does not allow for cyclic dependencies within configurations. As I understand it, the problem is that you need to be able to support multiple classpaths, one per gradle configuration basically. I know that eclipse cannot support this capability (IntelliJ does), I'm wondering if this extension could. This is the related issue in buildship: |
I'm also experiencing this issue. Might make me switch over to IntelliJ after all :/ |
Why is this closed? Still not able run gradle projects with circular dependencies. |
We merely take upstream Eclipse projects and integrate them together so they can work in a headless scenario. We definitely rely on other people's work for Core functionalities. |
what we're asking for here, is for you to support the option as outlined here: eclipse-buildship/buildship#460 (comment) |
@coopstah13 you can try to add
to <your_project>/.settings/org.eclipse.jdt.core.prefs |
@snjeza nope didn't work for me! |
@ganezdragon Could you provide a project example? |
following @snjeza's suggestion, but since I have a multi-project set up with many subdirectories that vscode decided should all get their own |
Trawling through https://docs.gradle.org/current/userguide/eclipse_plugin.html , I've found the magic to automate the change above in my // build.gradle
eclipse.jdt.file.withProperties { props ->
props.setProperty "org.eclipse.jdt.core.circularClasspath", "warning"
} may require expected result is the following property should be added to any org.eclipse.jdt.core.circularClasspath=warning |
@fbricon is it possible to add this as a workspace setting? I work in multi-project gradle build with a few 100 projects, would be tough to maintain setting this per-project. |
@y0ns0n We will enable it within eclipse-jdtls/eclipse.jdt.ls#1579 |
Any config to disable this warning/error? The same project can be loaded in intellij fine without any warning/error.
"A cycle was detected in the build path of project xxx - Build Path Problem"
Environment
The text was updated successfully, but these errors were encountered: