https://kotlinlang.org logo
#announcements
Title
# announcements
c

coder82

08/14/2019, 8:26 AM
Is ther a way to get rid of all the @UseExperimental like declarations, wasn't there a way to just specify this to the compiler via gradle?
s

spand

08/14/2019, 8:50 AM
Copy code
compileKotlin {
    kotlinOptions {
        freeCompilerArgs += ["-Xuse-experimental=io.ktor.locations.KtorExperimentalLocationsAPI,io.ktor.util.KtorExperimentalAPI"]
    }
}
c

coder82

08/14/2019, 9:00 AM
thx
do you know how to disable IntelliJ signaling this with a gray underline?
s

spand

08/14/2019, 9:37 AM
only
kotlinOptions
is underlined for me.. have no idea what it means
c

coder82

08/14/2019, 10:02 AM
these warnings:
they pop all the time, it's line an ispection
but i can't disable it in the IDE, apparently