gerrit/lib/lucene/BUCK
David Pursehouse 3ace71cbec Upgrade Lucene to version 5.3.0
This version includes a number of new features and bugfixes.

It also includes an API change that causes deprecation
warnings:

- BooleanQuery is now immutable and can be built using the
  BooleanQuery.Builder class

Instantiate instances of BooleanQuery with the new builder class
instead of with its constructor.

See the release notes for full details:

https://lucene.apache.org/core/5_3_0/changes/Changes.html

Change-Id: I5954b10017f2ff1531b036f953c6e4488e338f0e
2015-09-04 07:54:08 +00:00

76 lines
1.7 KiB
Python

include_defs('//lib/maven.defs')
VERSION = '5.3.0'
# core and backward-codecs both provide
# META-INF/services/org.apache.lucene.codecs.Codec, so they must be merged.
merge_maven_jars(
name = 'core-and-backward-codecs',
srcs = [
':backward-codecs_jar',
':core_jar',
],
visibility = ['PUBLIC'],
)
maven_jar(
name = 'core_jar',
id = 'org.apache.lucene:lucene-core:' + VERSION,
sha1 = '9e12bb7c39e964a544e3a23b9c8ffa9599d38f10',
license = 'Apache2.0',
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
visibility = [],
)
maven_jar(
name = 'analyzers-common',
id = 'org.apache.lucene:lucene-analyzers-common:' + VERSION,
sha1 = '1502beac94cf437baff848ffbbb8f76172befa6b',
license = 'Apache2.0',
deps = [':core-and-backward-codecs'],
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
)
maven_jar(
name = 'backward-codecs_jar',
id = 'org.apache.lucene:lucene-backward-codecs:' + VERSION,
sha1 = 'f654901e55fe56bdbe4be202767296929c2f8d9e',
license = 'Apache2.0',
deps = [':core_jar'],
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
visibility = [],
)
maven_jar(
name = 'misc',
id = 'org.apache.lucene:lucene-misc:' + VERSION,
sha1 = 'd03ce6d1bb8ab3926b3acc717418c474a49ade69',
license = 'Apache2.0',
deps = [':core-and-backward-codecs'],
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
)
maven_jar(
name = 'queryparser',
id = 'org.apache.lucene:lucene-queryparser:' + VERSION,
sha1 = '2c5e08580316c90b56a52e3cb686e1cf69db3f9e',
license = 'Apache2.0',
deps = [':core-and-backward-codecs'],
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
)