You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use export_files to export the KSP JAR files (#1313)
This fixes the visibility error for "symbol-processing-cmdline.jar" in
#1193.
The legacy behavior of Bazel is that input source files are implicitly
exported with the `default_visibility` set in the `BUILD` file. The
`--incompatible_no_implicit_file_export` option disables this legacy
behavior, making all input source files private by default, and the
Bazel documentation recommends that files should always be exported
explicitly if they are needed outside the current package:
> Avoid relying on the legacy behavior. Always write an `exports_files`
> declaration whenever a source file target needs non-private visibility.
(see https://bazel.build/concepts/visibility#source-file-target-visibility)
0 commit comments