gerrit/lib/asciidoctor/BUCK
Yuxuan 'fishy' Wang f73c12ac15 Bump asciidoctorj to 1.5.0.
Formerly asciidoctor-java-integration. This will fix the mixed content
issue when serving the docs over https.

Change-Id: I1f5ba308151e710299cd8c6fa69d93839ece7443
2014-08-22 10:32:51 -07:00

61 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',
'//lib/log:api',
],
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:asciidoctorj:1.5.0',
sha1 = '192df5660f72a0fb76966dcc64193b94fba65f99',
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,
)