Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 60c4d3793bfd6cd5ac80df15c1aa8f41e3f62bfc (plain) (tree)
1
2
3
4
5
6
7
8
                                                     

                           
                                                                

 
            
                      



                                      

             





                                                         

                         
                      
                          
      


             

                                     
                                                 
 
package(default_visibility = ["//visibility:public"])

INSECURE_CIPHER_FACTORY = [
    "src/org/eclipse/jgit/transport/InsecureCipherFactory.java",
]

SRCS = glob(
    ["src/**/*.java"],
    exclude = INSECURE_CIPHER_FACTORY,
)

RESOURCES = glob(["resources/**"])

java_library(
    name = "jgit",
    srcs = SRCS,
    resource_strip_prefix = "org.eclipse.jgit/resources",
    resources = RESOURCES,
    deps = [
        ":insecure_cipher_factory",
        "//lib:javaewah",
        "//lib:jsch",
        "//lib:jzlib",
        "//lib:slf4j-api",
    ],
)

java_library(
    name = "insecure_cipher_factory",
    srcs = INSECURE_CIPHER_FACTORY,
    javacopts = ["-Xep:InsecureCryptoUsage:OFF"],
)

Back to the top