"""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."""

    http_jar(
        name = "com_google_google_java_format",
        url = "https://github.com/google/google-java-format/releases/download/google-java-format-1.6/google-java-format-1.6-all-deps.jar",
        sha256 = "73faf7c9b95bffd72933fa24f23760a6b1d18499151cb39a81cda591ceb7a5f4",
    )

    # third_party libs used by jsinterop-base
    # TODO(dramaix): add a macro for loading JsInterop-base repo
    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"],
    )

@@ -611,335 +611,4 @@
   )%0A
-%0A    # third_party libs used by jsinterop-base%0A    # TODO(dramaix): add a macro for loading JsInterop-base repo%0A    jvm_maven_import_external(%0A        name = %22org_gwtproject_gwt_dev%22,%0A        artifact = %22com.google.gwt:gwt-dev:2.8.1%22,%0A        server_urls = %5B%22https://repo1.maven.org/maven2/%22%5D,%0A        licenses = %5B%22notice%22%5D,%0A    )%0A

Remove gwt-dev dependency that is no longer used.