Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/googlecodelabs/tools into…
Browse files Browse the repository at this point in the history
… keyboard-nav-fix
  • Loading branch information
nicolasgarnier committed Feb 24, 2020
2 parents 5c00624 + baa15eb commit d45b8fe
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
91 changes: 91 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,96 @@
workspace(name = "googlecodelabs_custom_elements")

maven_server(
name = "default",
url = "https://repo1.maven.org/maven2/"
)

maven_jar(
name = "org_apache_httpcomponents_httpclient",
artifact = "org.apache.httpcomponents:httpclient:4.5.5",
)

maven_jar(
name = "org_apache_httpcomponents_httpmime",
artifact = "org.apache.httpcomponents:httpmime:4.5.5",
)

maven_jar(
name = "org_apache_httpcomponents_httpcore",
artifact = "org.apache.httpcomponents:httpcore:4.4.9",
)

maven_jar(
name = "org_apache_commons_exec",
artifact = "org.apache.commons:commons-exec:1.3",
)

maven_jar(
name = "org_seleniumhq_selenium_api",
artifact = "org.seleniumhq:selenium-api:3.9.1",
)

maven_jar(
name = "org_seleniumhq_selenium_remote_driver",
artifact = "org.seleniumhq.selenium:selenium-remote-driver:3.8.1",
)

maven_jar(
name = "net_java_dev_jna_platform",
artifact = "net.java.dev:jna-client:4.5.1",
)

maven_jar(
name = "net_java_dev_jna",
artifact = "net.java.dev:jna:4.5.1",
)

maven_jar(
name = "net_bytebuddy",
artifact = "net.bytebuddy:byte-buddy:1.7.9",
)

maven_jar(
name = "com_squareup_okio",
artifact = "com.squareup:okio:1.14.0",
)

maven_jar(
name = "com_squareup_okhttp3_okhttp",
artifact = "com.squareup.okhttp3:okhttp:3.9.1",
)

maven_jar(
name = "cglib_nodep",
artifact = "cglib:cglib-nodep:3.2.6",
)

maven_jar(
name = "junit",
artifact = "junit:junit:4.12",
)

maven_jar(
name = "commons_logging",
artifact = "commons-logging:commons-logging:1.2",
)

maven_jar(
name = "commons_codec",
artifact = "commons-codec:commons-codec:1.11",
)

maven_jar(
name = "org_hamcrest_core",
artifact = "org.hamcrest:hamcrest-core:1.3",
)

new_http_archive(
name = "com_google_javascript_closure_compiler",
build_file = "third_party/BUILD.closure",
url = "https://repo1.maven.org/maven2/com/google/javascript/closure-compiler-unshaded/v20180805/closure-compiler-unshaded-v20180805.jar",
)

# Required by io_bazel_rules_webtesting.
skylib_ver = "f9b0ff1dd3d119d19b9cacbbc425a9e61759f1f5"
http_archive(
Expand Down
19 changes: 19 additions & 0 deletions third_party/BUILD.closure
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package(default_visibility = ["//visibility:public"])

licenses(["reciprocal"])

java_import(
name = "com_google_javascript_closure_compiler",
jars = ["closure-compiler-unshaded-v20180805.jar"],
deps = ["@com_google_code_gson", "@com_google_guava", "@com_google_code_findbugs_jsr305", "@com_google_protobuf//:protobuf_java"],
)

java_binary(
name = "main",
main_class = "com.google.javascript.jscomp.CommandLineRunner",
output_licenses = ["unencumbered"],
runtime_deps = [
":com_google_javascript_closure_compiler",
"@args4j",
],
)

0 comments on commit d45b8fe

Please sign in to comment.