File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ configurations {
2929}
3030
3131dependencies {
32- implementation group : ' net.bytebuddy' , name : ' byte-buddy-dep' , version : ' 1.11.2 '
32+ implementation group : ' net.bytebuddy' , name : ' byte-buddy-dep' , version : ' 1.12.6 '
3333 // byte buddy contains references to jna classes and without them the r8Jar step fails
3434 compileOnly group : ' net.java.dev.jna' , name : ' jna' , version : ' 5.8.0'
3535
@@ -150,11 +150,13 @@ task distJar(type: Jar) {
150150 // Pull raw advice classes from the shadow JAR, unminified:
151151 from (zipTree(shadowJar. getArchiveFile())) {
152152 include " tech/httptoolkit/javaagent/advice/**/*"
153+ include " tech/httptoolkit/relocated/net/bytebuddy/agent/builder/**/*"
153154 }
154155
155156 // Pull other source & bundled dependencies in their minified form, from R8:
156157 from (zipTree(r8Jar. outputs. files[0 ])) {
157158 exclude " tech/httptoolkit/javaagent/advice/**/*"
159+ exclude " tech/httptoolkit/relocated/net/bytebuddy/agent/builder/**/*"
158160 }
159161}
160162
Original file line number Diff line number Diff line change 11-dontobfuscate
2+ -dontoptimize
23-allowaccessmodification
34-keepattributes SourceFile, LineNumberTable, *Annotation*
45
6+ -keep class tech.httptoolkit.relocated.net.bytebuddy.agent.builder.** { *; }
7+
58-keep class tech.httptoolkit.javaagent.** { *; }
69-keep class tech.httptoolkit.relocated.net.bytebuddy.asm.** { *; }
You can’t perform that action at this time.
0 commit comments