diff options
author | Rene Engelhard <rene@debian.org> | 2020-05-08 14:19:45 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-30 11:27:47 +0100 |
commit | ea8d6cd59670854cb153c4e984cb4044093e5994 (patch) | |
tree | ada9fd95911208a9cd8edf8ced2f2cd3d7048031 /javaunohelper | |
parent | e35b2eede0bf3a9e51c084ed78f2eb39a7610b03 (diff) |
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>
Diffstat (limited to 'javaunohelper')
-rw-r--r-- | javaunohelper/BUCK | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/javaunohelper/BUCK b/javaunohelper/BUCK index 7f1120dab5f5..a33df7b9d347 100644 --- a/javaunohelper/BUCK +++ b/javaunohelper/BUCK @@ -1,20 +1,21 @@ - -java_sources( +genrule( name = 'juh-src', - srcs = glob(['com/**']), + cmd = ' && '.join([ + 'cd $TMP', + 'echo "FAKE SOURCE ARCHIVE" > README', + 'zip -qr $OUT *', + ]), + out = 'juh-src.jar', visibility = ['PUBLIC'], ) -java_doc( +genrule( name = 'juh-javadoc', - title = 'LibreOffice Makes it easier to use UNO with Java', - pkgs = [ - 'com.sun.star', - ], - paths = ['.'], - srcs = glob(['com/**']), - deps = [ - '//:juh', - ], + cmd = ' && '.join([ + 'cd $TMP', + 'echo "FAKE JAVADOC ARCHIVE" > README', + 'zip -qr $OUT *', + ]), + out = 'juh-javadoc.jar', visibility = ['PUBLIC'], ) |