From f5caffb74a5336014e84121b90196769d9a29d56 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Fri, 8 May 2020 14:19:45 +0200 Subject: 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 (cherry picked from commit ea8d6cd59670854cb153c4e984cb4044093e5994) --- BUCK | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'BUCK') 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', ] ) -- cgit