gerrit/lib/asciidoctor/BUCK
David Ostrovsky 1f04bca4bf Add new SSH command to search in Gerrit documentation index
$>ssh review gerrit apropos capabilities
Gerrit Code Review - /config/ REST API:
http://localhost:8080/Documentation/rest-api-config.html

Gerrit Code Review - /accounts/ REST API:
http://localhost:8080/Documentation/rest-api-accounts.html

Gerrit Code Review - Project Configuration File Format:
http://localhost:8080/Documentation/config-project-config.html

Gerrit Code Review - Access Controls:
http://localhost:8080/Documentation/access-control.html

Gerrit Code Review - Plugin Development:
http://localhost:8080/Documentation/dev-plugins.html

Gerrit Code Review - REST API:
http://localhost:8080/Documentation/rest-api.html

Gerrit Code Review - /access/ REST API:
http://localhost:8080/Documentation/rest-api-access.html

Change-Id: I26d067e8e6e5056a53d25457361b079e437f4fd0
2013-10-19 21:57:31 +02:00

60 lines
1.2 KiB
Python

include_defs('//lib/maven.defs')
java_binary(
name = 'asciidoc',
main_class = 'AsciiDoctor',
deps = [':asciidoc_lib'],
visibility = ['PUBLIC'],
)
java_library(
name = 'asciidoc_lib',
srcs = ['java/AsciiDoctor.java'],
deps = [
':asciidoctor',
':jruby',
'//lib:args4j',
'//lib:guava',
],
visibility = ['//tools/eclipse:classpath'],
)
java_binary(
name = 'doc_indexer',
main_class = 'DocIndexer',
deps = [':doc_indexer_lib'],
visibility = ['PUBLIC'],
)
java_library(
name = 'doc_indexer_lib',
srcs = ['java/DocIndexer.java'],
deps = [
':asciidoc_lib',
'//gerrit-server:constants',
'//lib:args4j',
'//lib:guava',
'//lib/lucene:analyzers-common',
'//lib/lucene:core',
],
visibility = ['//tools/eclipse:classpath'],
)
maven_jar(
name = 'asciidoctor',
id = 'org.asciidoctor:asciidoctor-java-integration:0.1.4',
sha1 = '3596c7142fd30d7b65a0e64ba294f3d9d4bd538f',
license = 'Apache2.0',
visibility = [],
attach_source = False,
)
maven_jar(
name = 'jruby',
id = 'org.jruby:jruby-complete:1.7.4',
sha1 = '74984d84846523bd7da49064679ed1ccf199e1db',
license = 'DO_NOT_DISTRIBUTE',
visibility = [],
attach_source = False,
)