File tree 4 files changed +13
-6
lines changed
4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ javafx_version=17.0.2
24
24
javafx_plugin_version =0.0.8
25
25
binary_compatibility_validator_version =0.12.0
26
26
kover_version =0.7.0-Beta
27
- blockhound_version =1.0.2 .RELEASE
27
+ blockhound_version =1.0.8 .RELEASE
28
28
jna_version =5.9.0
29
29
30
30
# Android versions
@@ -49,9 +49,6 @@ jsdom_global_version=3.0.2
49
49
kotlin.incremental.multiplatform =true
50
50
kotlin.native.ignoreDisabledTargets =true
51
51
52
- # Site generation
53
- jekyll_version =4.0
54
-
55
52
# JS IR backend sometimes crashes with out-of-memory
56
53
# TODO: Remove once KT-37187 is fixed
57
54
org.gradle.jvmargs =-Xmx3g
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ of coroutines hierarchy referenced by a [Job] or [CoroutineScope] instances usin
16
16
This module also provides an automatic [ BlockHound] ( https://github.com/reactor/BlockHound ) integration
17
17
that detects when a blocking operation was called in a coroutine context that prohibits it. In order to use it,
18
18
please follow the BlockHound [ quick start guide] (
19
- https://github.com/reactor/BlockHound/blob/1.0.2 .RELEASE/docs/quick_start.md ).
19
+ https://github.com/reactor/BlockHound/blob/1.0.8 .RELEASE/docs/quick_start.md ).
20
20
21
21
### Using in your project
22
22
Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ java {
33
33
disableAutoTargetJvm()
34
34
}
35
35
36
+ // This is required for BlockHound tests to work, see https://github.com/Kotlin/kotlinx.coroutines/issues/3701
37
+ tasks. withType(Test ). configureEach {
38
+ if (JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_13 )) {
39
+ jvmArgs + = [" -XX:+AllowRedefinitionToAddDeleteMethods" ]
40
+ }
41
+ }
42
+
36
43
jar {
37
44
setEnabled(false )
38
45
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2
+ * Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
3
*/
4
4
5
5
@file:Suppress(" INVISIBLE_REFERENCE" , " INVISIBLE_MEMBER" )
@@ -10,6 +10,9 @@ import kotlinx.coroutines.scheduling.*
10
10
import reactor.blockhound.*
11
11
import reactor.blockhound.integration.*
12
12
13
+ /* *
14
+ * @suppress
15
+ */
13
16
public class CoroutinesBlockHoundIntegration : BlockHoundIntegration {
14
17
15
18
override fun applyTo (builder : BlockHound .Builder ): Unit = with (builder) {
You can’t perform that action at this time.
0 commit comments