Try upgrading to latest version of BB.
MODIFY
gradle/dependencies.gradle
gradle/dependencies.gradle
@@ -14,7 +14,7 @@ ext {
groovy : groovyVer,
junit : "4.12",
logback : "1.2.3",
- bytebuddy : "1.7.11", // Test failure when updating to 1.8.0.
+ bytebuddy : "1.8.1",
]
deps = [

Try upgrading to latest version of BB.