-
Notifications
You must be signed in to change notification settings - Fork 30
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
Gradle Dataset: Failed to execute 'gradle :printClasspath -b 'classpath.gradle #409
Comments
Problem seems to be that these are multi-projects. It's not the actual build that's failing (as you manually confirmed), but the command we use to print all the dependency classpaths (the one you see in the error message). This command (or more precisely the
I'm open for suggestions 😅 |
I'm also no expert with gradle and I must admit that my last gradle project in which I also developed was during my bachelor's. I figured out that the issue is due to the missing
A minor problem with this solution is that the parsing of the classpath needs to be adapted as well as the structure of the output changes:
However, I observed another issue: What do you think about one of these solutions? |
I'd prefer a cleaner solution. Verbosity doesn't seem like a major problem here. Would parsing work the same for projects with and projects without subprojects? Which command did you use to run 'printClasspath' when the error occurred? I think you need to explicitly tell gradle which .gradle file to use, because |
The error was a mistake on my site - or writing down a wrong state. Thanks for pointing it out. Yes, one need to use Based on my understanding of the docu, it should work. I tested the second option against a project ( |
Steps to reproduce:
Got:
Expected:
cc @anam-dodhy
The text was updated successfully, but these errors were encountered: