Open ignasi35 opened 6 years ago
Was that in a vanilla project where you just added the plugin and imported in IntelliJ?
Verified that it is an issue with a vanilla project.
I'm not working on this currently, but what I gathered while looking into it was that I think we do some really weird stuff with unmanagedResourceDirectories
depending on resourceDirectories
across scopes in weird ways. Could be a mistake or it could be a needed hack, not sure. I think this leads to how IntelliJ mistakes the directory for a test resource directory.
Users see a "test resources root" folder marked in green under
src/main
on the IDE which is confusing:This could be just an IDE issue, but I suspect the
projectSettings
added by the sbt-plugin are not correct.(This is way over my head, could be a false positive and all is good)