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

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. load(
  2. "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
  3. "junit_tests",
  4. )
  5. junit_tests(
  6. name = "http",
  7. srcs = glob(["tst/**/*.java"]),
  8. tags = ["http"],
  9. deps = [
  10. ":helpers",
  11. "//lib:commons-logging",
  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:junit",
  19. "//lib:servlet-api",
  20. "//lib:slf4j-api",
  21. "//lib:slf4j-simple",
  22. "//org.eclipse.jgit.http.apache:http-apache",
  23. "//org.eclipse.jgit.http.server:jgit-servlet",
  24. "//org.eclipse.jgit:jgit",
  25. "//org.eclipse.jgit.junit.http:junit-http",
  26. "//org.eclipse.jgit.junit:junit",
  27. ],
  28. )
  29. java_library(
  30. name = "helpers",
  31. testonly = 1,
  32. srcs = glob(["src/**/*.java"]),
  33. deps = [
  34. "//lib:junit",
  35. "//lib:servlet-api",
  36. "//org.eclipse.jgit.http.server:jgit-servlet",
  37. "//org.eclipse.jgit:jgit",
  38. "//org.eclipse.jgit.junit.http:junit-http",
  39. "//org.eclipse.jgit.junit:junit",
  40. ],
  41. )