Test source folder disappears when using spring-cloud-contract-gradle-plugin
src/test/resources/contracts folder disappears from project view when it contains a single folder inside.
I have a very simple Spring Gradle project with spring-cloud-contract-gradle-plugin. This plugin marks contracts folder as "Test source folder" supposedly because spring-cloud-contract-verifier needs to generate contracts from .gradle files in it.
Disabling "spring-cloud-contract" makes folder visible again
Removing folder from "Project structure" configurations makes it visible
Disabling "Compact middle packages" option in project view makes it visible
Creating one more folder under contracts (so that compacting doesn't happen) make is visible too.
I thought it's general issue with "Compact middle packages" but it works fine everywhere else... except when "Test source folder" is under "Test resource folder". Could be the case.
I have IntelliJ Idea 2018.3. Project source to test is on github at https://github.com/velovint/contracts-plugin-bug
Is this actually the best place to report bugs? Sorry if not.
Please sign in to leave a comment.
Please follow this issue for updates: https://youtrack.jetbrains.com/issue/IDEA-203391