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

1234567891011121314151617181920212223242526272829303132333435363738
  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_import(
  28. name = "services",
  29. jars = [":services_jar"],
  30. )
  31. genrule(
  32. name = "services_jar",
  33. srcs = glob(["META-INF/services/*"]),
  34. outs = ["services_jar.jar"],
  35. cmd = "r=$$PWD && cd org.eclipse.jgit.pgm && zip -qr $$r/$@ .",
  36. )