Is there a way to apply ktor annotation classes ac...
# ktor
s
Is there a way to apply ktor annotation classes across whole projects? I’m tired of having to put
@KtorExperimentalLocationsAPI
or
@KtorExperimentalAPI
over everything in order to remove IntelliJ warnings.
c
Yes, you can pass it via gradle
s
I was able to do it with this
Copy code
compileKotlin {
    kotlinOptions {
        freeCompilerArgs += "-Xuse-experimental=org.mylibrary.ExperimentalMarker"
    }
}
Thanks!!!
y
@Kristian, you might be interested in this.
k
Thanks for the heads up @Yeray Cabello