Skip to content

Improve error message when the apiCheck fails due to missing klib dump file #205

Closed
@fzhinkin

Description

@fzhinkin

Currently, when there's no klib.api file in the project, the apiCheck task fails with an error message complaining about missing the intermediate file, not the source klib.api file that has to be placed in the repo:

* What went wrong:
Execution failed for task ':redwood-layout-modifiers:klibApiCheck'.
> Expected folder with API declarations '/private/tmp/bugs/redwood/redwood-layout-modifiers/build/api/klib-all/extracted' does not exist.
  Please ensure that ':apiDump' was executed in order to get API dump to compare the build against

It would be nice to point users to a missing from the projects source directory, not to some obscure intermediate file.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions