纯java实现的git操作库。
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.
 
 
 
 

32 lines
861 B

package(default_visibility = ["//visibility:public"])
config_setting(
name = "jdk9",
values = {
"java_toolchain": "@bazel_tools//tools/jdk:toolchain_jdk9",
},
)
genrule(
name = "all",
testonly = 1,
srcs = [
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.pgm:pgm",
"//org.eclipse.jgit.ui:ui",
"//org.eclipse.jgit.archive:jgit-archive",
"//org.eclipse.jgit.http.apache:http-apache",
"//org.eclipse.jgit.http.server:jgit-servlet",
"//org.eclipse.jgit.lfs:jgit-lfs",
"//org.eclipse.jgit.lfs.server:jgit-lfs-server",
"//org.eclipse.jgit.junit:junit",
],
outs = ["all.zip"],
cmd = " && ".join([
"p=$$PWD",
"t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
"cp $(SRCS) $$t",
"cd $$t",
"zip -qr $$p/$@ .",
]),
)