0

I have 3 modules in my gradle project: 1. Main, Test (Unit tests), 3. IntegrationTest

I added testImplementation for flyway migrations to be used in the integration tests, then I've created resources folder for this module and put my migration script inside resources/db/migration. And then, when I try to run tests inside I have this exception: Entry db.migration/V1__schema.sql is a duplicate but no duplicate handling strategy has been set.

It seems like complete nonsense for me

  • 1
    Have you tried adding a `duplicatesStrategy`? https://stackoverflow.com/questions/67265308/gradle-entry-classpath-is-a-duplicate-but-no-duplicate-handling-strategy-has-b – User51 Feb 07 '23 at 20:56

0 Answers0