With intellij IDEA 2023.x there are some problems with cross project dependencies on specific configurations. see https://youtrack.jetbrains.com/issue/IDEA-321592 for details
- holds a simple class
- a integrationTest setup based on https://github.com/unbroken-dome/gradle-testsets-plugin
- a custom
tests
configuration (do not mistake this for the defaulttest
configuration for unit tests) that only has thejar
containing theintegrationTest
classes (this is our current setup)
- consume the
integrationTest
configuration directly either as test dependency or for packaging - this way all
integrationTest
dependencies are also coming with it
- consume the
tests
configuration - no transitive dependencies apply in this scenario
that shows, that the 2023 versions are depending on the test
module instead of the integrationTest
how it should be.