My library’s build.gradle.kts isn’t able to resolve
String.lowercase()
for some reason, and
String.toLowerCase()
seems to be deprecated and doesn’t work. Anyone have any ideas on why my build.gradle.kts can’t access this method?
v
Vampire
09/09/2022, 11:46 PM
Kotlin language and api version is 1.4 for build scripts due to backwards compatibility. The method you cannot resolve was added in 1.5. At the same the other method was only deprecated in 1.5, so using it is fine.
m
Matthew Murray
09/09/2022, 11:47 PM
huh, wasn’t working for me but ill try again. Very helpful, thanks for quick response!