Repackage byte-buddy along with debug agent (so it shouldn't be a dependency of target process), use shadow plugin for that to avoid clashes with other byte-buddy versions and publish shadow jar instead of regular one for debug module
diff --git a/build.gradle b/build.gradle
index 52ad4ab..4125af4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -40,7 +40,7 @@
classpath "com.moowork.gradle:gradle-node-plugin:$gradle_node_version"
// JMH plugins
- classpath "com.github.jengelman.gradle.plugins:shadow:2.0.2"
+ classpath "com.github.jengelman.gradle.plugins:shadow:4.0.2"
classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.7"
classpath "net.ltgt.gradle:gradle-apt-plugin:0.10"
}