My library’s build.gradle.kts isn’t able to resolv...
# gradle
m
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
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
huh, wasn’t working for me but ill try again. Very helpful, thanks for quick response!