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

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. load("@rules_java//java:defs.bzl", "java_library")
  2. load(
  3. "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
  4. "junit_tests",
  5. )
  6. junit_tests(
  7. name = "http",
  8. srcs = glob(["tst/**/*.java"]),
  9. tags = ["http"],
  10. deps = [
  11. ":helpers",
  12. "//lib:commons-logging",
  13. "//lib:httpcore",
  14. "//lib:jetty-http",
  15. "//lib:jetty-io",
  16. "//lib:jetty-security",
  17. "//lib:jetty-server",
  18. "//lib:jetty-servlet",
  19. "//lib:jetty-util",
  20. "//lib:junit",
  21. "//lib:servlet-api",
  22. "//lib:slf4j-api",
  23. "//lib:slf4j-simple",
  24. "//org.eclipse.jgit.http.apache:http-apache",
  25. "//org.eclipse.jgit.http.server:jgit-servlet",
  26. "//org.eclipse.jgit:jgit",
  27. "//org.eclipse.jgit.junit.http:junit-http",
  28. "//org.eclipse.jgit.junit:junit",
  29. ],
  30. )
  31. java_library(
  32. name = "helpers",
  33. testonly = 1,
  34. srcs = glob(["src/**/*.java"]),
  35. deps = [
  36. "//lib:junit",
  37. "//lib:servlet-api",
  38. "//org.eclipse.jgit.http.server:jgit-servlet",
  39. "//org.eclipse.jgit:jgit",
  40. "//org.eclipse.jgit.junit.http:junit-http",
  41. "//org.eclipse.jgit.junit:junit",
  42. ],
  43. )