diff --git a/build.gradle b/build.gradle
index 7df9363..d074ad1 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.17.6' // allows mocking of classes (in addition to interfaces)
+ testRuntimeOnly 'net.bytebuddy:byte-buddy:1.18.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 616c606..cec2120 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,7 +97,7 @@
net.bytebuddy
byte-buddy
- 1.17.6
+ 1.18.0
test