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 818B

123456789101112131415161718192021222324252627282930313233343536
  1. package(default_visibility = ["//visibility:public"])
  2. INSECURE_CIPHER_FACTORY = [
  3. "src/org/eclipse/jgit/transport/InsecureCipherFactory.java",
  4. ]
  5. SRCS = glob(
  6. ["src/**/*.java"],
  7. exclude = INSECURE_CIPHER_FACTORY,
  8. )
  9. RESOURCES = glob(["resources/**"])
  10. java_library(
  11. name = "jgit",
  12. srcs = SRCS,
  13. javacopts = select({
  14. "//:jdk9": ["--add-modules=java.xml.bind"],
  15. "//conditions:default": [],
  16. }),
  17. resource_strip_prefix = "org.eclipse.jgit/resources",
  18. resources = RESOURCES,
  19. deps = [
  20. ":insecure_cipher_factory",
  21. "//lib:javaewah",
  22. "//lib:jsch",
  23. "//lib:jzlib",
  24. "//lib:slf4j-api",
  25. ],
  26. )
  27. java_library(
  28. name = "insecure_cipher_factory",
  29. srcs = INSECURE_CIPHER_FACTORY,
  30. javacopts = ["-Xep:InsecureCryptoUsage:OFF"],
  31. )