Kotlin / binary-compatibility-validator

Public API management tool
Apache License 2.0
800 stars 59 forks source link

Correctly handle compilations without sources #200

Closed fzhinkin closed 6 months ago

fzhinkin commented 6 months ago

BCV's Klib-validation part does not handle compilations without any sources properly, as a result tasks manipulating dumps might expect a dump for a target that doesn't have any compiled klibs.

Such targets/compilations occur when, for example, a project consists only of test sources.

Verified the fix locally using both projects mentioned in the original bug report.

Fixes #199