summaryrefslogtreecommitdiffstats
path: root/BUCK
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2020-05-08 14:19:45 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2021-03-10 16:19:45 +0100
commitf5caffb74a5336014e84121b90196769d9a29d56 (patch)
treeea24bce0ebdccfa0183bfee817939406f831d8e7 /BUCK
parentFix an OUString construction (diff)
downloadcore-f5caffb74a5336014e84121b90196769d9a29d56.tar.gz
core-f5caffb74a5336014e84121b90196769d9a29d56.zip
Adapt buck build to jars merged into libreoffice.jar
Since ae855bf48163ff64d94cfc34aff8e37abdb5518d and 35518c92365cc183ba6cce2a4d284a130c0ca13f 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> (cherry picked from commit ea8d6cd59670854cb153c4e984cb4044093e5994)
Diffstat (limited to 'BUCK')
-rw-r--r--BUCK9
1 files changed, 9 insertions, 0 deletions
diff --git a/BUCK b/BUCK
index 66b0dbdabcec..18f5cf488e4f 100644
--- a/BUCK
+++ b/BUCK
@@ -34,6 +34,12 @@ prebuilt_jar(
visibility = ['PUBLIC'],
)
+prebuilt_jar(
+ name = 'libreoffice',
+ binary_jar = 'instdir/program/classes/libreoffice.jar',
+ visibility = ['PUBLIC'],
+)
+
zip_file(
name = 'api',
srcs = [
@@ -55,5 +61,8 @@ zip_file(
':unoloader',
'//ridljar/source/unoloader:unoloader-src',
'//ridljar/source/unoloader:unoloader-javadoc',
+ ':libreoffice',
+ '//ridljar:libreoffice-src',
+ '//ridljar:libreoffice-javadoc',
]
)