You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I succeed reproducing the issue I was talking on in the previous comment.
Before the steps I will try to present the dev environment:
We have two projects:
Pipeline - Only Jenkins files for various pipeline flows
Pipeline-libs - The infra and utils to support the pipeline
Those two are in separate repo - but often when doing changes to the pipeline, developers need to make also changes in pipeline-libs ( not always but it happen).
So we decided to include the pipeline-libs in pipeline ( again with includeBuild to avoid each user to import it in IntelliJ).
Step to reproduce:
Create a sample gradle groovy project and open Intellij idea on it.
Run the processIntegrationTestResource of the example project see how all the project structure disappear.
Now this does not happen if you open only the example project - so it is related to the includeBuild some how but also when opening just the project libs after running the task Intellij mark the folder as a module ( under build/generated-src/integrationTest/) so it is a bug.
Usually, IDEA inspects the source sets of a project to know how to handle them in IntelliJ, so there isn't a need to use the idea plugin. Maybe something else is going on here.
Hi @mkobit again !!
So I succeed reproducing the issue I was talking on in the previous comment.
Before the steps I will try to present the dev environment:
We have two projects:
Those two are in separate repo - but often when doing changes to the pipeline, developers need to make also changes in pipeline-libs ( not always but it happen).
So we decided to include the pipeline-libs in pipeline ( again with includeBuild to avoid each user to import it in IntelliJ).
Step to reproduce:
Now this does not happen if you open only the example project - so it is related to the includeBuild some how but also when opening just the project libs after running the task Intellij mark the folder as a module ( under build/generated-src/integrationTest/) so it is a bug.
So I started to check the pipeline plugin code and I think that it should use the idea plugin to set generate source location - I found an example in this project: https://github.com/mikhailstepanov88/grpc_kotlin/tree/master/src/main/kotlin/com/github/mikhailstepanov88/grpc_kotlin/internal/plugin/configurer
I can try to fix this if you agree - it will take me some times since it is a busy week.
Also I did not found the new release in gradle plugin portal - are you planing to upload it there ?
Thanks
The text was updated successfully, but these errors were encountered: