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.
|
|
|
load("@rules_java//java:defs.bzl", "java_library")
|
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@com_googlesource_gerrit_bazlets//tools:junit.bzl",
|
|
|
|
"junit_tests",
|
|
|
|
)
|
|
|
|
|
|
|
|
junit_tests(
|
|
|
|
name = "lfs",
|
|
|
|
srcs = glob(["tst/**/*.java"]),
|
|
|
|
tags = ["lfs"],
|
|
|
|
deps = [
|
|
|
|
":helpers",
|
|
|
|
"//lib:junit",
|
|
|
|
"//org.eclipse.jgit:jgit",
|
|
|
|
"//org.eclipse.jgit.junit:junit",
|
|
|
|
"//org.eclipse.jgit.lfs:jgit-lfs",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "helpers",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = glob(["src/**/*.java"]),
|
|
|
|
deps = [
|
|
|
|
"//lib:junit",
|
|
|
|
"//org.eclipse.jgit:jgit",
|
|
|
|
"//org.eclipse.jgit.junit:junit",
|
|
|
|
"//org.eclipse.jgit.lfs:jgit-lfs",
|
|
|
|
],
|
|
|
|
)
|