java - How to import external dependencies with Bazel? -
i want import google cloud dataflow sdk java 2.0.0
.
but artifact includes sdkdependencies
class file only.
how can import dependencies of dataflow sdk
?
i tried generate_workspace
according procedure. (https://docs.bazel.build/versions/master/generate-workspace.html)
it hard add dataflow sdk dependencies manually.
deps = [ "@org_apache_beam_beam_sdks_java_core//jar", "@org_apache_beam_beam_runners_google_cloud_dataflow_java//jar", "@org_apache_beam_beam_sdks_java_io_google_cloud_platform//jar", "@com_fasterxml_jackson_core_jackson_annotations//jar", "@com_fasterxml_jackson_core_jackson_databind//jar", "@com_fasterxml_jackson_core_jackson_core//jar", ... ]
what usual way import external dependencies?
Comments
Post a Comment