diff --git a/build.gradle b/build.gradle
index 6f4f9b3..559a9c8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -29,7 +29,7 @@ dependencies {
// optional dependencies for using Spock
testImplementation "org.hamcrest:hamcrest-core:3.0" // only necessary if Hamcrest matchers are used
- testRuntimeOnly 'net.bytebuddy:byte-buddy:1.15.8' // allows mocking of classes (in addition to interfaces)
+ testRuntimeOnly 'net.bytebuddy:byte-buddy:1.17.0' // allows mocking of classes (in addition to interfaces)
testRuntimeOnly "org.objenesis:objenesis:3.4" // 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 fe18144..a948957 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,7 +97,7 @@
net.bytebuddy
byte-buddy
- 1.15.8
+ 1.17.0
test