How do I set explicitApi() with Amper?
# amper
g
How do I set explicitApi() with Amper?
z
You can set this with compiler arguments:
Copy code
settings:
  kotlin:
    freeCompilerArgs:
      - "-Xexplicit-api=strict"
Note that we have some IDE problem in Fleet at the moment which means that the errors it produces might not show up in the editor.
g
thanks for reply. Im using Intellij and it also does not show errors, but It fails to compile. well, for now it works for me, it's just my pet project after all
👍 1
a
Giorgi, could you please check if the IDE works as expected with Amper 0.3 and the latest IntelliJ IDEA 2024.2 EAP?
g
I don't have that version but it works with 2024.1.2 Intellij
a
You mean that both Fleet and IntelliJ now, so the errors in the editor as expected?
g
not Fleet, I don't use it
Intelij works as expected
you meant Fleet and intellij, right?
not sure what is Fleet in Intellij
a
yes I mean Fleet and/or IntelliJ. Good to know it works as expected
K 1