You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BUILD 861B

1234567891011121314151617181920212223242526272829303132
  1. package(default_visibility = ["//visibility:public"])
  2. config_setting(
  3. name = "jdk9",
  4. values = {
  5. "java_toolchain": "@bazel_tools//tools/jdk:toolchain_jdk9",
  6. },
  7. )
  8. genrule(
  9. name = "all",
  10. testonly = 1,
  11. srcs = [
  12. "//org.eclipse.jgit:jgit",
  13. "//org.eclipse.jgit.pgm:pgm",
  14. "//org.eclipse.jgit.ui:ui",
  15. "//org.eclipse.jgit.archive:jgit-archive",
  16. "//org.eclipse.jgit.http.apache:http-apache",
  17. "//org.eclipse.jgit.http.server:jgit-servlet",
  18. "//org.eclipse.jgit.lfs:jgit-lfs",
  19. "//org.eclipse.jgit.lfs.server:jgit-lfs-server",
  20. "//org.eclipse.jgit.junit:junit",
  21. ],
  22. outs = ["all.zip"],
  23. cmd = " && ".join([
  24. "p=$$PWD",
  25. "t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
  26. "cp $(SRCS) $$t",
  27. "cd $$t",
  28. "zip -qr $$p/$@ .",
  29. ]),
  30. )