Hi, I see that `.capitalize()` is be replaced by `...
# stdlib
m
Hi, I see that
.capitalize()
is be replaced by
.replaceFirstChar()
but the latter one is not shown in my IDE? I only got
replaceFirst
j
Are you using kotlin 1.5?
e
note that if you're working inside a gradle script, it's currently 1.4-compatible
m
Nope, I am using Gradle 1.4.20 as we are running Gradle 6.9.1. @Joffrey
In 1.4 I have to live with this deprecation as there is no replacement? 😢
👌 1
e
capitalize()
is only deprecated since Kotlin 1.5; in Kotlin 1.4 it is not deprecated. may be a configuration issue or bug if your IDE is flagging 1.4-targeted code with 1.5-level deprecations
🙏🏼 1