Skip to content

Commit 795890b

Browse files
committed
Update Byte Buddy to 1.12.6 + exclude net.bytebuddy.utility.Invoker from r8 process
1 parent cfb08d8 commit 795890b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ configurations {
2929
}
3030

3131
dependencies {
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

r8-rules.txt

+2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
-allowaccessmodification
33
-keepattributes SourceFile, LineNumberTable, *Annotation*
44

5+
-keep class tech.httptoolkit.relocated.net.bytebuddy.utility.Invoker { *; }
6+
57
-keep class tech.httptoolkit.javaagent.** { *; }
68
-keep class tech.httptoolkit.relocated.net.bytebuddy.asm.** { *; }

0 commit comments

Comments
 (0)