Skip to content

Commit 3a2b963

Browse files
committed
Add the required jctools classes to the client jar.
Fixes btraceio#632
1 parent 458efc9 commit 3a2b963

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

btrace-dist/build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,16 @@ task clientJar(type: ShadowJar) {
144144
exclude 'org/checkerframework/**'
145145
exclude 'org/codehaus/**'
146146

147-
exclude 'org/jctools/maps/**'
148-
exclude 'org/jctools/util/**'
147+
exclude {
148+
it.path.startsWith('org/jctools/maps/') &&
149+
!it.path.startsWith("org/jctools/maps/NonBlockingIdentityHashMap") &&
150+
!it.path.startsWith("org/jctools/maps/NonBlockingHashMap")
151+
}
152+
exclude {
153+
// 'org/jctools/util/**'
154+
it.path.startsWith('org/jctools/util/') &&
155+
!it.path.startsWith("org/jctools/util/UnsafeAccess")
156+
}
149157
exclude 'META-INF/services/com.sun.*'
150158
exclude 'META-INF/services/javax.annotation.*'
151159

0 commit comments

Comments
 (0)