blob: 77611e4353d37571c70b721bab2211d3bdcd97b9 [file] [log] [blame]
David Pursehouse31c82402019-09-04 15:02:32 +09001load("@rules_java//java:defs.bzl", "java_binary", "java_library")
2
David Ostrovsky7cd84752017-08-23 09:07:52 +02003java_binary(
4 name = "gerrit-main-class",
5 main_class = "Main",
6 visibility = ["//visibility:public"],
7 runtime_deps = [":gerrit-main-class-lib"],
8)
9
10java_library(
11 name = "gerrit-main-class-lib",
12 srcs = ["Main.java"],
David Ostrovsky43c0f3d2017-08-24 20:37:01 +020013 deps = ["//java/com/google/gerrit/launcher"],
David Ostrovsky7cd84752017-08-23 09:07:52 +020014)