[Kotlin Class ABI Jars] Failed to resolve public top level functions
Created by: tyvsmith
When consuming a third party dep that has a public top level function, it is not kept in the class abi jar. I've now seen this in a handful of jars as I've explored enabling on the Uber monorepo including
Repro steps:
1 )Set compile_against_abis=true in .buckconfig for Kotlin.
2) Add Square wire-runtime artifact or Android UAST jar as a prebuilt jar.
3) Add prebuilt jar as dependency
4) add import com.squareup.wire.internal.missingRequiredFields
to kotlin file
5) Build
my_target/tester.kt:9:35 error: unresolved reference: missingRequiredFields
import com.squareup.wire.internal.missingRequiredFields
^
When running <kotlinc>.
When building rule //my_target:src_main.