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 /jurt | |
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 'jurt')
-rw-r--r-- | jurt/BUCK | 28 |
1 files changed, 15 insertions, 13 deletions
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'], ) + |