Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalanskyjb committed Mar 13, 2020
1 parent 6e5fe92 commit 6ec6849
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions gradle.properties
Expand Up @@ -21,6 +21,8 @@ rxjava2_version=2.2.8
javafx_version=11.0.2
javafx_plugin_version=0.0.8
binary_compatibility_validator_version=0.2.2
blockhound_version=1.0.2.RELEASE
jna_version=5.5.0

# Android versions
android_version=4.1.1.4
Expand Down
13 changes: 8 additions & 5 deletions kotlinx-coroutines-debug/build.gradle
Expand Up @@ -21,11 +21,12 @@ configurations {
dependencies {
compileOnly "junit:junit:$junit_version"
shadowDeps "net.bytebuddy:byte-buddy:$byte_buddy_version"
compile "net.bytebuddy:byte-buddy-agent:$byte_buddy_version"
compile 'io.projectreactor.tools:blockhound:1.0.2.RELEASE'
shadowDeps "net.bytebuddy:byte-buddy-agent:$byte_buddy_version"
compileOnly "io.projectreactor.tools:blockhound:$blockhound_version"
testCompile "io.projectreactor.tools:blockhound:$blockhound_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
runtime "net.java.dev.jna:jna:5.5.0"
runtime "net.java.dev.jna:jna-platform:5.5.0"
runtime "net.java.dev.jna:jna:$jna_version"
runtime "net.java.dev.jna:jna-platform:$jna_version"
}

jar {
Expand All @@ -39,5 +40,7 @@ shadowJar {
classifier null
// Shadow only byte buddy, do not package kotlin stdlib
configurations = [project.configurations.shadowDeps]
relocate 'net.bytebuddy', 'kotlinx.coroutines.repackaged.net.bytebuddy'
relocate('net.bytebuddy', 'kotlinx.coroutines.repackaged.net.bytebuddy') {
exclude 'net.bytebuddy.agent'
}
}

0 comments on commit 6ec6849

Please sign in to comment.