diff options
Diffstat (limited to 'tensorflow/workspace2.bzl')
-rw-r--r-- | tensorflow/workspace2.bzl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tensorflow/workspace2.bzl b/tensorflow/workspace2.bzl index 18b63ab47fb..18274158395 100644 --- a/tensorflow/workspace2.bzl +++ b/tensorflow/workspace2.bzl @@ -50,6 +50,7 @@ load("@tf_runtime//:dependencies.bzl", "tfrt_dependencies") load("//tensorflow/tools/toolchains/remote_config:configs.bzl", "initialize_rbe_configs") load("//tensorflow/tools/toolchains/remote:configure.bzl", "remote_execution_configure") load("//tensorflow/tools/toolchains/clang6:repo.bzl", "clang6_configure") +load("@rules_jvm_external//:defs.bzl", "maven_install") def _initialize_third_party(): """ Load third party repositories. See above load() statements. """ @@ -919,6 +920,21 @@ def _tf_repositories(): ], ) + # used for adding androidx.annotation dependencies in tflite android jni. + maven_install( + artifacts = [ + "androidx.annotation:annotation:aar:1.1.0", + ], + repositories = [ + "https://jcenter.bintray.com", + "https://maven.google.com", + "https://dl.google.com/dl/android/maven2", + "https://repo1.maven.org/maven2", + ], + fetch_sources = True, + version_conflict_policy = "pinned", + ) + def workspace(): # Check the bazel version before executing any repository rules, in case # those rules rely on the version we require here. |