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.
41 lines
917 B
41 lines
917 B
load( |
|
"@com_googlesource_gerrit_bazlets//tools:junit.bzl", |
|
"junit_tests", |
|
) |
|
load("@rules_java//java:defs.bzl", "java_library") |
|
|
|
junit_tests( |
|
name = "pgm", |
|
srcs = glob(["tst/**/*.java"]), |
|
jvm_flags = [ |
|
"-Xmx512m", |
|
"-Dfile.encoding=UTF-8", |
|
], |
|
tags = ["pgm"], |
|
deps = [ |
|
":helpers", |
|
"//lib:args4j", |
|
"//lib:commons-compress", |
|
"//lib:javaewah", |
|
"//lib:junit", |
|
"//lib:slf4j-api", |
|
"//lib:slf4j-simple", |
|
"//lib:xz", |
|
"//org.eclipse.jgit:jgit", |
|
"//org.eclipse.jgit.junit:junit", |
|
"//org.eclipse.jgit.pgm:pgm", |
|
], |
|
) |
|
|
|
java_library( |
|
name = "helpers", |
|
testonly = 1, |
|
srcs = glob(["src/**/*.java"]), |
|
deps = [ |
|
"//lib:args4j", |
|
"//lib:junit", |
|
"//org.eclipse.jgit:jgit", |
|
"//org.eclipse.jgit.junit:junit", |
|
"//org.eclipse.jgit.pgm:pgm", |
|
], |
|
)
|
|
|