Skip to content

Commit 51c8100

Browse files
author
Abduqodiri Qurbonzoda
committed
OptIn for ExperimentalNativeApi #KT-57838
Throwable.getStackTrace() became ExperimentalNativeApi in 1.9.0. In 1.9.20 the opt-in requirement level of the annotation was raised to ERROR.
1 parent 637c0c8 commit 51c8100

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ kotlin {
5454
resources.srcDirs = ["$it.name/resources"]
5555
languageSettings {
5656
progressiveMode = true
57+
optIn('kotlin.experimental.ExperimentalNativeApi')
5758
optIn("kotlinx.cinterop.ExperimentalForeignApi")
5859
}
5960
}

0 commit comments

Comments
 (0)