-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a tristate (off/warn/error) experimental_report_unused_deps
attribute to the toolchain. Implement unused dependency checking in `JDepsMerger` tool. Collect jdeps dependency artifacts if experimental_report_unused_deps is enabled (warn/error) and pass to KotlinBuilder. Passing these inputs triggers `JDepsMerge` action for each target causing the unused deps checking logic to be executed. Currently these inputs are not used by the `KotlinBuilder` but will be required for future work implementing a reduced classpath feature. Add tests for experimental_report_unused_deps off/warn/error Enable experimental_report_unused_deps as "warn" for examples/android
- Loading branch information
1 parent
1f41e8f
commit b30062b
Showing
6 changed files
with
192 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.