File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,11 @@ kotlin {
150150 this .languageVersion = libs.versions.settings.language.get()
151151 progressiveMode = true
152152 optIn(" kotlinx.coroutines.ExperimentalCoroutinesApi" )
153- if (name.lowercase().contains(" ios" ) || name.lowercase().contains(" tvos" ) || name.lowercase().contains(" macos" )) {
153+ if (name.lowercase().contains(" ios" )
154+ || name.lowercase().contains(" apple" )
155+ || name.lowercase().contains(" tvos" )
156+ || name.lowercase().contains(" macos" )
157+ ) {
154158 optIn(" kotlinx.cinterop.ExperimentalForeignApi" )
155159 optIn(" kotlinx.cinterop.BetaInteropApi" )
156160 }
Original file line number Diff line number Diff line change @@ -109,7 +109,11 @@ kotlin {
109109 this .apiVersion = libs.versions.settings.api.get()
110110 this .languageVersion = libs.versions.settings.language.get()
111111 progressiveMode = true
112- if (name.lowercase().contains(" ios" )) {
112+ if (name.lowercase().contains(" ios" )
113+ || name.lowercase().contains(" apple" )
114+ || name.lowercase().contains(" tvos" )
115+ || name.lowercase().contains(" macos" )
116+ ) {
113117 optIn(" kotlinx.cinterop.ExperimentalForeignApi" )
114118 optIn(" kotlinx.cinterop.BetaInteropApi" )
115119 }
You can’t perform that action at this time.
0 commit comments