colintheshots
08/19/2020, 5:05 PMtoBoolean(): Boolean' is deprecated. Use Kotlin compiler 1.4 to avoid deprecation warning.
It seems like this is not a well-functioning deprecation warning. There's no easy way to select the String?.toBoolean() version instead. Even if I cast to String?, the 1.4 compiler won't let me call String?.toBoolean() explicitly. It seems like a compiler bug.luke
08/19/2020, 5:35 PMMargarita Bobova
08/20/2020, 8:15 AMcolintheshots
08/20/2020, 2:46 PMdwursteisen
08/24/2020, 9:02 AMByteArray.contenxtEquals
). I try to reproduce without luck on a sample project. Even though IntelliJ 2020.2 mark the method as deprecated, gradle compile it with success without warnings.ilya.gorbunov
08/24/2020, 1:48 PMdwursteisen
08/24/2020, 2:00 PMcolintheshots
08/24/2020, 3:03 PMdwursteisen
08/27/2020, 3:34 PM--debug
and checking how it is invoking the kotlin compiler daemon.
So the message is super obvious when you understand that you’re compiling with Kotlin 1.3 and not with Kotlin 1.4…
Now, I need to find why Gradle is picking the 1.3.70 but it’s should be a configuration issue on our side.