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

1234567891011121314151617181920212223242526272829303132
  1. load("@rules_java//java:defs.bzl", "java_library")
  2. package(default_visibility = ["//visibility:public"])
  3. INSECURE_CIPHER_FACTORY = [
  4. "src/org/eclipse/jgit/transport/InsecureCipherFactory.java",
  5. ]
  6. SRCS = glob(
  7. ["src/**/*.java"],
  8. exclude = INSECURE_CIPHER_FACTORY,
  9. )
  10. RESOURCES = glob(["resources/**"])
  11. java_library(
  12. name = "jgit",
  13. srcs = SRCS,
  14. resource_strip_prefix = "org.eclipse.jgit/resources",
  15. resources = RESOURCES,
  16. deps = [
  17. ":insecure_cipher_factory",
  18. "//lib:javaewah",
  19. "//lib:slf4j-api",
  20. ],
  21. )
  22. java_library(
  23. name = "insecure_cipher_factory",
  24. srcs = INSECURE_CIPHER_FACTORY,
  25. javacopts = ["-Xep:InsecureCryptoUsage:OFF"],
  26. )