ea8d6cd596
Sinceae855bf481
and35518c9236
the ridl,jurt und unoil jars were merged into libreoffice.jar. Adapt the buck build correspondingly. Preserve the publishing of merged jars for now with dummy content and consider to remove them in future releases. Test Plan: 1. To replace version number with upcoming release version: $ solenv/bin/version.py 7.1.0 2. To install the API to local Maven repository: $ VERBOSE=1 buck build api_install 3. To deploy the API to Maven Central: $ VERBOSE=1 buck build api_deploy Change-Id: Id1b2135682ab962c901b944f3c26aeead9a4b19b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93724 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
46 lines
828 B
Text
46 lines
828 B
Text
|
|
genrule(
|
|
name = 'ridl-src',
|
|
cmd = ' && '.join([
|
|
'cd $TMP',
|
|
'echo "FAKE SOURCE ARCHIVE" > README',
|
|
'zip -qr $OUT *',
|
|
]),
|
|
out = 'ridl-src.jar',
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
genrule(
|
|
name = 'ridl-javadoc',
|
|
cmd = ' && '.join([
|
|
'cd $TMP',
|
|
'echo "FAKE JAVADOC ARCHIVE" > README',
|
|
'zip -qr $OUT *',
|
|
]),
|
|
out = 'ridl-javadoc.jar',
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_sources(
|
|
name = 'libreoffice-src',
|
|
srcs = glob(['com/**']),
|
|
root = '.',
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_doc(
|
|
name = 'libreoffice-javadoc',
|
|
title = 'LibreOffice types for the Java Uno typesystem',
|
|
pkgs = [
|
|
'com.sun.star.comp',
|
|
'com.sun.star.lib',
|
|
'com.sun.star.uno',
|
|
],
|
|
paths = ['.'],
|
|
srcs = glob(['com/**']),
|
|
deps = [
|
|
'//:unoloader',
|
|
'//:libreoffice',
|
|
],
|
|
visibility = ['PUBLIC'],
|
|
)
|