Skip to content

Commit 7fc4a90

Browse files
committed
Fixes
1 parent 6e5fe92 commit 7fc4a90

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ rxjava2_version=2.2.8
2121
javafx_version=11.0.2
2222
javafx_plugin_version=0.0.8
2323
binary_compatibility_validator_version=0.2.2
24+
blockhound_version=1.0.2.RELEASE
25+
jna_version=5.5.0
2426

2527
# Android versions
2628
android_version=4.1.1.4

kotlinx-coroutines-debug/build.gradle

+8-6
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ configurations {
2121
dependencies {
2222
compileOnly "junit:junit:$junit_version"
2323
shadowDeps "net.bytebuddy:byte-buddy:$byte_buddy_version"
24-
compile "net.bytebuddy:byte-buddy-agent:$byte_buddy_version"
25-
compile 'io.projectreactor.tools:blockhound:1.0.2.RELEASE'
26-
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
27-
runtime "net.java.dev.jna:jna:5.5.0"
28-
runtime "net.java.dev.jna:jna-platform:5.5.0"
24+
shadowDeps "net.bytebuddy:byte-buddy-agent:$byte_buddy_version"
25+
compileOnly "io.projectreactor.tools:blockhound:$blockhound_version"
26+
testCompile "io.projectreactor.tools:blockhound:$blockhound_version"
27+
runtime "net.java.dev.jna:jna:$jna_version"
28+
runtime "net.java.dev.jna:jna-platform:$jna_version"
2929
}
3030

3131
jar {
@@ -39,5 +39,7 @@ shadowJar {
3939
classifier null
4040
// Shadow only byte buddy, do not package kotlin stdlib
4141
configurations = [project.configurations.shadowDeps]
42-
relocate 'net.bytebuddy', 'kotlinx.coroutines.repackaged.net.bytebuddy'
42+
relocate('net.bytebuddy', 'kotlinx.coroutines.repackaged.net.bytebuddy') {
43+
exclude 'net.bytebuddy.agent'
44+
}
4345
}

0 commit comments

Comments
 (0)