diff --git a/build_defs/internal_do_not_use/jsinterop_generator_workspace.bzl b/build_defs/internal_do_not_use/jsinterop_generator_workspace.bzl index 0409024..b5481a2 100644 --- a/build_defs/internal_do_not_use/jsinterop_generator_workspace.bzl +++ b/build_defs/internal_do_not_use/jsinterop_generator_workspace.bzl @@ -1,6 +1,7 @@ """Macro to use for loading the jsinterop generator repository""" load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_jar") +load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external") def setup_jsinterop_generator_workspace(): """Load all dependencies needed for jsinterop generator.""" @@ -13,8 +14,9 @@ def setup_jsinterop_generator_workspace(): # third_party libs used by jsinterop-base # TODO(dramaix): add a macro for loading JsInterop-base repo - native.maven_jar( + jvm_maven_import_external( name = "org_gwtproject_gwt_dev", artifact = "com.google.gwt:gwt-dev:2.8.1", + server_urls = ["https://repo1.maven.org/maven2/"], + licenses = ["notice"], ) -