-
Notifications
You must be signed in to change notification settings - Fork 57
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
Build Task in the root gradle project does not get displayed #794
Comments
My goal is to execute build task at root gradle project, so as to trigger build task for all the nested child projects. I can do it via terminal manual typing, but could not do it via gradle pane |
Thanks for the report. I can reproduce on a clean project using (Although not ideal, you can still run root tasks using the "Run a Gradle Build" feature, by clicking on the Terminal icon) |
Noted. For your info, my root workspace folder has a build.gradle, and is the parent of the nested gradle projects called main-service and main-service1 |
I've not seeing root "default" tasks when I run They seem like special case tasks that are internal to gradle. I wish I knew how intellij is discovering those tasks! |
Hi, |
meanwhile, have u tried getAllTasks api? |
Bump |
hi @hanct. fyi the project has been transferred to Microsoft and i'm no longer doing active development on it. i'm sure the MS devs will eventually pick this up, but they probably aren't getting notified in these old issues. |
Understood. Thanks. I will open another new request again. Thanks for helping to maintain this great extension all these while. |
closed in #1046 |
Extension Name: vscode-gradle
Extension Version: 3.5.2
OS Version:Windows
VSCode version: 1.51.1
Describe the bug
I am developing a gradle-based project, which has nested gradle projects (namely, mainservice and mainservice1), as shown in the below screenshot. I notice that the root gradle project (csv_bundler) does not have a task called build. But yet, i can go to the command prompt and execute gradlew.bat build at the root project.
When i execute the gradlew.bat tasks at the root project, the terminal list down all the supported tasks , one of them include build task. But yet in the gradle pane, build task (among others) does not get displayed.
![image](https://user-images.githubusercontent.com/4410920/99880376-f5085500-2c4d-11eb-948f-cd3af4f38db4.png)
The text was updated successfully, but these errors were encountered: