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.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:httpclient",
  11. "//lib:httpcore",
  12. "//lib:jetty-http",
  13. "//lib:jetty-io",
  14. "//lib:jetty-security",
  15. "//lib:jetty-server",
  16. "//lib:jetty-servlet",
  17. "//lib:jetty-util",
  18. "//lib:servlet-api",
  19. "//org.eclipse.jgit.archive:jgit-archive",
  20. "//org.eclipse.jgit.http.apache:http-apache",
  21. "//org.eclipse.jgit:jgit",
  22. "//org.eclipse.jgit.lfs:jgit-lfs",
  23. "//org.eclipse.jgit.lfs.server:jgit-lfs-server",
  24. "//org.eclipse.jgit.ui:ui",
  25. ],
  26. )
  27. java_binary(
  28. name = "jgit",
  29. main_class = "org.eclipse.jgit.pgm.Main",
  30. runtime_deps = [":pgm"],
  31. )
  32. java_import(
  33. name = "services",
  34. jars = [":services_jar"],
  35. )
  36. genrule(
  37. name = "services_jar",
  38. srcs = glob(["META-INF/services/*"]),
  39. outs = ["services_jar.jar"],
  40. cmd = "r=$$PWD && cd org.eclipse.jgit.pgm && zip -qr $$r/$@ .",
  41. )