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 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. java_library(
  2. name = "pgm",
  3. srcs = glob(["src/**/*.java"]),
  4. resource_strip_prefix = "org.eclipse.jgit.pgm/resources",
  5. resources = glob(["resources/**"]),
  6. visibility = ["//visibility:public"],
  7. deps = [
  8. ":services",
  9. "//lib:args4j",
  10. "//lib:commons-logging",
  11. "//lib:httpclient",
  12. "//lib:httpcore",
  13. "//lib:jetty-http",
  14. "//lib:jetty-io",
  15. "//lib:jetty-security",
  16. "//lib:jetty-server",
  17. "//lib:jetty-servlet",
  18. "//lib:jetty-util",
  19. "//lib:servlet-api",
  20. "//org.eclipse.jgit.archive:jgit-archive",
  21. "//org.eclipse.jgit.http.apache:http-apache",
  22. "//org.eclipse.jgit:jgit",
  23. "//org.eclipse.jgit.lfs:jgit-lfs",
  24. "//org.eclipse.jgit.lfs.server:jgit-lfs-server",
  25. "//org.eclipse.jgit.ssh.apache:ssh-apache",
  26. "//org.eclipse.jgit.ui:ui",
  27. ],
  28. )
  29. java_binary(
  30. name = "jgit",
  31. main_class = "org.eclipse.jgit.pgm.Main",
  32. runtime_deps = [":pgm"],
  33. )
  34. java_import(
  35. name = "services",
  36. jars = [":services_jar"],
  37. )
  38. genrule(
  39. name = "services_jar",
  40. srcs = glob(["META-INF/services/*"]),
  41. outs = ["services_jar.jar"],
  42. cmd = "r=$$PWD && cd org.eclipse.jgit.pgm && zip -qr $$r/$@ .",
  43. )