Anyone would know how to remove this warning: ```s...
# intellij
s
Anyone would know how to remove this warning:
Copy code
sourceSets {
    commonMain {
        dependencies {
            implementation kotlin("stdlib-common")
        }
    }
The warning is:
'kotlin' cannot be applied to '(java.lang.String)'
. Thread in #gradle
a
Disable the inspection from Alt+Enter popup menu.
s
That's a possibility, but couldn't the inspection be useful in some other contexts, though? I feel like disabling it is a bit drastic.
a
AFAIU this is a flaky Groovy inspection that may go away after reimporting the Gradle project (at least it works for me). Please report your case to IDEA tracker: https://youtrack.jetbrains.com/issues/IDEA