Swift was open-sourced 18 months before Google announced support for Kotlin.
There was probably several months or more of debate and work within Google by the time of the announcement, but it seems reasonable that during those 18 months they would have also considered and rejected Swift.