File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ compileKotlinMetadata {
55
55
}
56
56
57
57
kotlin. sourceSets {
58
+ jvm. dependencies {
59
+ compileOnly " com.google.android:annotations:4.1.1.4"
60
+ }
61
+
58
62
jvmTest. dependencies {
59
63
api " org.jetbrains.kotlinx:lincheck:$lincheck_version "
60
64
api " org.jetbrains.kotlinx:kotlinx-knit-test:$knit_version "
Original file line number Diff line number Diff line change @@ -9,8 +9,14 @@ import sun.misc.*
9
9
import java.lang.instrument.*
10
10
import java.lang.instrument.ClassFileTransformer
11
11
import java.security.*
12
+ import android.annotation.*
12
13
14
+ /*
15
+ * This class is loaded if and only if kotlinx-coroutines-core was used as -javaagent argument,
16
+ * but Android complains anyway (java.lang.instrument.*), so we suppress all lint checks here
17
+ */
13
18
@Suppress(" unused" )
19
+ @SuppressLint(" all" )
14
20
internal object AgentPremain {
15
21
16
22
public var isInstalledStatically = false
You can’t perform that action at this time.
0 commit comments