hey I was wondering how I would disable warnings a...
# announcements
c
hey I was wondering how I would disable warnings about using unsigned types? I know that they are experemental, I don't want to add @ExperimentalUnsignedTypes hundreds of times in my code. I've tried adding
Copy code
tasks.withType<KotlinCompile> {
    kotlinOptions.jvmTarget = "1.8"
    kotlinOptions.freeCompilerArgs += "-Xexperimental=kotlin.ExperimentalUnsignedTypes"
}
this to my build.gradle.kts, but it still warns me in intellij
k
should be
"-Xuse-experimental=kotlin.ExperimentalUnsignedTypes"
c
yup, that worked great. Thanks!