-
Notifications
You must be signed in to change notification settings - Fork 62
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
Local Gradle wrapper executables must exist at the root of the workspace folders? #717
Comments
please ignore my query. I misunderstand the meaning of "Local Gradle wrapper executables must exist at the root of the workspace folders". |
Btw this extension does support nested projects, you just need to enable that feature with the setting "gradle.nestedProjects". |
|
here's some reasoning as to why it's not enabled by default: #339 (comment) |
Noted. Thanks. But regardless of whether nested projects are enabled or not, the folder added to the workspace must contain a build.gradle file. In order word, I can't add a folder A to the workspace, in which folder A does not have build.gradle, even if its subfolder folder B has. Not sure if my understanding is correct. |
if Consider the following directory tree:
If I open If I open (To clarify, gradle project discovery is based on the wrapper scripts not the build.gradle files [as gradle projects can have multiple nested build.gradle files]) I think I need to update the README to make this more obvious. The following doesn't reflect what i've mentioned:
It should rather say something like:
I'm going to re-open this ticket for tracking purposes. |
I've updated the README. Hopefully it's a little clearer. |
Thanks for updating the README to improve clarity. Since we are on the topic of gradle.nestedProjects, just to highlight to you in my vscode IDE, i saw that there is no description for the gradle.nestedProjects (see screenshot), but other settings have. |
Yes that's all correct. Thanks for pointing out the missing description, i am fixing that with #745 |
vscode-gradle extensions: v3.4.5
Hi,
I notice that one of the requirement for the extension to work is "Local Gradle wrapper executables must exist at the root of the workspace folders". As shown in the screenshot, the gradlew.bat is not at the root of the workspace (Tutorial1 folder), but at the root of the subfolder called demoMS1. Can i check that vscode-gradle extension will not support such workspace configuration?
The text was updated successfully, but these errors were encountered: