-
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
Can't see additional sourceSets in project explorer #40
Comments
As of currently there is no support for this in the Tooling API of Gradle. So until it is fixed in Gradle, I cannot implement this. What you can do is to manually add it through the idea plugin:
I will leave this issue open in hope that sometime this feature will be added to the Tooling API. |
wow....Cool! Thanks for keeping open as feature addition. Also thanks for tip about idea -- that actually worked for me. |
This should know be fixed in 1.2.7. Note that you need to download this release manually. Also, you have to use the nightly build of Gradle "1.10-20131011231056+0000" or later. Once 1.9 (rc) is release, you can use that too. Note that Gradle 1.8 will brake each version of the NetBeans plugin. |
Consider
|
Which version of Gradle and which version of the plugin are you using? Also, what do you have set for "Build script evaluation strategy" in the global settings (Misc/Gradle)? "Newest possible" ignores the idea plugin but should see custom source sets, if they exist (i.e., directory is actually created). You can now create the directories from the plugin by choosing "Create source roots" in the project's context menu. |
My gradle root file has some sourcesets like:
In my sub projects, my project explorer looks like this:
My sub-project's directory mostly follows Maven like structures, like this:
Can a future plugin revision include the ability to display custom sources sets in the project explorer?
The text was updated successfully, but these errors were encountered: