In my kotlin project (maven based) I was trying to configure the compiler switch -Xjsr305=warn
, to instruct kotlin compiler to emit warns instead of errors.
But I didn’t manage to make it work.
- In idea I put this compiler flag in additional command line parameters.
- In maven I put the following:
Do you have any idea how can I config it?
Thank you in advance.