blob: 4cd8a157b0340ba5531e9b069af224177693128d [file] [log] [blame]
workspace(name = "build_bazel_eclipse")
git_repository(
name = "bazel_skylib",
remote = "https://github.com/bazelbuild/bazel-skylib",
commit = "2169ae1c374aab4a09aa90e65efe1a3aad4e279b",
)
load("@bazel_skylib//:lib.bzl", "versions")
versions.check("0.5.0")
# TODO(dmarting): switch to release version of integration testing
http_archive(
name = "build_bazel_integration_testing",
url = "https://github.com/bazelbuild/bazel-integration-testing/archive/7ace2e7fbfc32f89222a85804b574a1e07583ddc.zip",
sha256 = "44de2377d38ad2386be132a21bae9b61291d546303747d72b454a735e18fa923",
strip_prefix = "bazel-integration-testing-7ace2e7fbfc32f89222a85804b574a1e07583ddc",
)
load("@build_bazel_integration_testing//tools:bazel_java_integration_test.bzl", "bazel_java_integration_test_deps")
bazel_java_integration_test_deps()
load("//tools/build_defs:eclipse.bzl", "load_eclipse_deps")
load_eclipse_deps()
new_http_archive(
name = "com_google_python_gflags",
url = "https://github.com/google/python-gflags/archive/python-gflags-2.0.zip",
strip_prefix = "python-gflags-python-gflags-2.0",
build_file_content = """
py_library(
name = "gflags",
srcs = [
"gflags.py",
"gflags_validators.py",
],
visibility = ["//visibility:public"],
)
""",
sha256 = "344990e63d49b9b7a829aec37d5981d558fea12879f673ee7d25d2a109eb30ce",
)
# TODO(dmarting): Use http_file and relies on a mirror instead of maven_jar
maven_jar(
name = "org_json",
artifact = "org.json:json:jar:20160212",
)
maven_jar(
name = "com_google_truth",
artifact = "com.google.truth:truth:jar:0.31",
)