| load("@rules_java//java:defs.bzl", "java_library") |
| |
| java_library( |
| name = "pgm", |
| srcs = glob(["**/*.java"]), |
| resource_strip_prefix = "resources", |
| resources = ["//resources/com/google/gerrit/pgm"], |
| visibility = ["//visibility:public"], |
| deps = [ |
| "//java/com/google/gerrit/auth", |
| "//java/com/google/gerrit/common:annotations", |
| "//java/com/google/gerrit/common:server", |
| "//java/com/google/gerrit/entities", |
| "//java/com/google/gerrit/exceptions", |
| "//java/com/google/gerrit/extensions:api", |
| "//java/com/google/gerrit/gpg", |
| "//java/com/google/gerrit/httpd", |
| "//java/com/google/gerrit/httpd/auth/oauth", |
| "//java/com/google/gerrit/httpd/auth/openid", |
| "//java/com/google/gerrit/httpd/auth/restapi", |
| "//java/com/google/gerrit/index", |
| "//java/com/google/gerrit/index/project", |
| "//java/com/google/gerrit/launcher", |
| "//java/com/google/gerrit/lifecycle", |
| "//java/com/google/gerrit/lucene", |
| "//java/com/google/gerrit/metrics", |
| "//java/com/google/gerrit/metrics/dropwizard", |
| "//java/com/google/gerrit/pgm/http/jetty", |
| "//java/com/google/gerrit/pgm/init", |
| "//java/com/google/gerrit/pgm/init/api", |
| "//java/com/google/gerrit/pgm/util", |
| "//java/com/google/gerrit/server", |
| "//java/com/google/gerrit/server:module", |
| "//java/com/google/gerrit/server/api", |
| "//java/com/google/gerrit/server/audit", |
| "//java/com/google/gerrit/server/cache/h2", |
| "//java/com/google/gerrit/server/cache/mem", |
| "//java/com/google/gerrit/server/ioutil", |
| "//java/com/google/gerrit/server/restapi", |
| "//java/com/google/gerrit/server/schema", |
| "//java/com/google/gerrit/server/util/time", |
| "//java/com/google/gerrit/sshd", |
| "//lib:args4j", |
| "//lib:guava", |
| "//lib:jgit", |
| "//lib:jgit-ssh-apache", |
| "//lib:protobuf", |
| "//lib:servlet-api-without-neverlink", |
| "//lib/auto:auto-value", |
| "//lib/auto:auto-value-annotations", |
| "//lib/commons:lang3", |
| "//lib/flogger:api", |
| "//lib/guice", |
| "//lib/guice:guice-assistedinject", |
| "//lib/guice:guice-servlet", |
| "//lib/prolog:cafeteria", |
| "//lib/prolog:compiler", |
| "//lib/prolog:runtime", |
| ], |
| ) |