zonkyio / embedded-database-spring-test

A library for creating isolated embedded databases for Spring-powered integration tests.
Apache License 2.0
399 stars 37 forks source link

[Q]: Is there a way to use the latest testcontainer version #244

Closed kuza2010 closed 1 year ago

kuza2010 commented 1 year ago

Current project dependency is:

For now there is a nre test container version (1.18.3) available. Can we somehow instruct embedded-database-spring-test use that?

tomix26 commented 1 year ago

Yes, sure, there is a way. But the way how to do that really depends on a type of dependency management system you are using. For example, in case of Maven you can use the dependency management section to override a version of any transitive dependency. In case of Grade, it should be enough just explicitly define the dependency in the build script and the newest version in the dependency tree wins.

kuza2010 commented 1 year ago

Ok, thanks, that is clear!