Is there a way to set the Kotlin language version that should be used when analyzing things like deprecation? I'm using detekt in an project that uses Gradle Kotlin DSL which has a language version of 1.4 where
String.capitalize(Locale)
isn't deprecated, and the IDE doesn't warn me about deprecation, but detekt does.