gerrit/lib/asciidoctor/BUILD
David Ostrovsky fa18907d7f Bazel: Reformat build files
Reformat the Bazel build files with the buildifier tool [1].

The style is different for Bazel files. Most notably, indentation level
is 4 spaces instead of 2, and " is used instead of '.

[1] https://github.com/bazelbuild/buildifier

Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
2016-12-07 11:33:07 +00:00

55 lines
1.2 KiB
Python

java_binary(
name = "asciidoc",
main_class = "AsciiDoctor",
visibility = ["//visibility:public"],
runtime_deps = [":asciidoc_lib"],
)
java_library(
name = "asciidoc_lib",
srcs = ["java/AsciiDoctor.java"],
visibility = ["//visibility:public"],
deps = [
":asciidoctor",
"//lib:args4j",
"//lib:guava",
"//lib/log:api",
"//lib/log:nop",
],
)
java_binary(
name = "doc_indexer",
main_class = "DocIndexer",
visibility = ["//visibility:public"],
runtime_deps = [":doc_indexer_lib"],
)
java_library(
name = "doc_indexer_lib",
srcs = ["java/DocIndexer.java"],
visibility = ["//visibility:public"],
deps = [
":asciidoc_lib",
"//gerrit-server:constants",
"//lib:args4j",
"//lib:guava",
"//lib/lucene:lucene-analyzers-common",
"//lib/lucene:lucene-core-and-backward-codecs",
],
)
java_library(
name = "asciidoctor",
data = ["//lib:LICENSE-asciidoctor"],
visibility = ["//visibility:public"],
exports = ["@asciidoctor//jar"],
runtime_deps = [":jruby"],
)
java_library(
name = "jruby",
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
exports = ["@jruby//jar"],
)