I have following in existing gradle based project ...
# amper
j
I have following in existing gradle based project that I'm trying to get working with amper....is there way through gradle interop to allow this?
Copy code
sourceSets {
        all {
            languageSettings.optIn("kotlinx.cinterop.ExperimentalForeignApi")
        }
j
You should be able to specify opt-in annotations directly in your
module.yml
settings (no need for Gradle interop):
Copy code
settings:
  kotlin:
    optIns: [ "kotlinx.cinterop.ExperimentalForeignApi" ]
See: https://github.com/JetBrains/amper/blob/0.2/docs/DSLReference.md#kotlin
j
that worked, thanks
🆒 1