Created by: tyvsmith
This addresses two bugs when dealing with ABI classes for Kotlin.
-
If you're using a mixed source set or a kt target without any kt files, the folder isn't generated to hold the abi class files. When an upstream target tries to consume this target, it fails because of a missing folder. This creates the temp folder if it's supporting source abi generation.
-
For Class ABIs, methods with synthetic parameters were stripped. The means that overrides become problematic across targets. This preserves more signatures in the case of Kotlin by keeping synthetic methods for Kotlin.
This has been tested and deployed on the internal Uber Buck fork.