/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ configurations.configureEach { 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() } } }