zonkyio / embedded-database-spring-test

A library for creating isolated embedded databases for Spring-powered integration tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

kuza2010 opened this issue · comments

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?

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.

Ok, thanks, that is clear!