I’m trying to compile a Kotlin project and suppress all console outputs that have to do with the deprecated annotations. But I want to keep all other warnings that the project may have.
I’ve tried this without much success:
allprojects {
tasks.withType<KotlinCompile>() {
kotlinOptions {
freeCompilerArgs += "-Xsuppress-deprecated-jvm-target-warning"
}
}
}