From ea8d6cd59670854cb153c4e984cb4044093e5994 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 --- jurt/BUCK | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'jurt') diff --git a/jurt/BUCK b/jurt/BUCK index f2349aa017e0..1af7706d9203 100644 --- a/jurt/BUCK +++ b/jurt/BUCK @@ -1,21 +1,23 @@ -java_sources( +genrule( name = 'jurt-src', - srcs = glob(['com/**']), + cmd = ' && '.join([ + 'cd $TMP', + 'echo "FAKE SOURCE ARCHIVE" > README', + 'zip -qr $OUT *', + ]), + out = 'jurt-src.jar', visibility = ['PUBLIC'], ) -java_doc( +genrule( name = 'jurt-javadoc', - title = 'LibreOffice Java Uno Runtime', - pkgs = [ - 'com.sun.star', - ], - paths = ['.'], - srcs = glob(['com/**']), - deps = [ - '//:jurt', - '//:unoloader', - ], + cmd = ' && '.join([ + 'cd $TMP', + 'echo "FAKE JAVADOC ARCHIVE" > README', + 'zip -qr $OUT *', + ]), + out = 'jurt-javadoc.jar', visibility = ['PUBLIC'], ) + -- cgit