2012-08-22 14:41:16 -04:00
|
|
|
/*
|
|
|
|
* Hibernate, Relational Persistence for Idiomatic Java
|
|
|
|
*
|
2015-05-19 00:23:35 -04:00
|
|
|
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
|
|
|
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
2012-08-22 14:41:16 -04:00
|
|
|
*/
|
|
|
|
|
2023-07-31 11:34:57 -04:00
|
|
|
configurations.configureEach {
|
2022-04-22 19:40:06 -04:00
|
|
|
resolutionStrategy.eachDependency { details ->
|
|
|
|
//Force the "byte buddy agent" version to match the Byte Buddy version
|
|
|
|
// we use, as Mockito might pull in a mismatched version transitively
|
|
|
|
if (details.requested.group == "net.bytebuddy" && details.requested.name == 'byte-buddy-agent') {
|
|
|
|
details.useVersion libs.versions.byteBuddy.get()
|
2018-07-12 07:32:01 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|