java - How to import external dependencies with Bazel? -


i want import google cloud dataflow sdk java 2.0.0.

https://mvnrepository.com/artifact/com.google.cloud.dataflow/google-cloud-dataflow-java-sdk-all/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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -