Skip to content

Commit

Permalink
Remove usages of native.maven_jar rule.
Browse files Browse the repository at this point in the history
The rule is deprecated from bazel 0.29 and is removed in bazel 2.0

PiperOrigin-RevId: 287176230
  • Loading branch information
jDramaix authored and copybara-github committed Dec 26, 2019
1 parent de764ad commit 4d566c6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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."""
Expand All @@ -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"],
)

0 comments on commit 4d566c6

Please sign in to comment.