diff --git a/build.gradle b/build.gradle
index 1f67286..b92ffde 100644
--- a/build.gradle
+++ b/build.gradle
@@ -29,7 +29,7 @@ dependencies {
// optional dependencies for using Spock
testImplementation "org.hamcrest:hamcrest-core:2.2" // only necessary if Hamcrest matchers are used
- testRuntimeOnly 'net.bytebuddy:byte-buddy:1.12.17' // allows mocking of classes (in addition to interfaces)
+ testRuntimeOnly 'net.bytebuddy:byte-buddy:1.14.7' // allows mocking of classes (in addition to interfaces)
testRuntimeOnly "org.objenesis:objenesis:3.3" // allows mocking of classes without default constructor (together with ByteBuddy or CGLIB)
// dependencies used by examples in this project
diff --git a/pom.xml b/pom.xml
index 258298f..bcd8516 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,7 +98,7 @@
net.bytebuddy
byte-buddy
- 1.12.17
+ 1.14.7
test