summaryrefslogtreecommitdiff
path: root/ridljar
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2015-12-01 23:59:11 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-12-19 01:27:27 +0100
commit756e103214c3c74c2af7e0da836b568259f81226 (patch)
tree4d43fe88ac85d2033f6b5c2f8bcf53caccd2807d /ridljar
parent5b4649a118c599d356542d2ef3f87d634980ad55 (diff)
Add build toolchain to upload LibreOffice API to Maven Central
Set up the toolchain to create sources and javadocs artifacts in addition to JARs created during the build. Use Buck build tool for that: [1]. This is a fork of Google's build tool Blaze, created by Xooglers at Facebook. This build tool (like Blaze itself) uses Python to write build files. Add needed tools and build files to install LibreOffice API artifacts to local Maven repository or deploy them to Maven Central. To build all needed artifacts LibreOffice must be built regularly with GNU make first. To build the rest of the API (sources and javadocs): $> buck build api To replace version number with upcoming release version: $> solenv/bin/version.py 5.1.0 To install the API to local Maven repository: $> buck build api_install To deploy the API to Maven Central: $> buck build api_deploy Detailed documentation is added to document the prerequisites and the workflow to upload LibreOffice API to Maven Central. * [1] https://buckbuild.com Change-Id: Ibdd552a01110836703bc069abe829b9921491cac Reviewed-on: https://gerrit.libreoffice.org/20343 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 1fd41f43eb73c373cb94d32d82c5fb7a7e243367)
Diffstat (limited to 'ridljar')
-rw-r--r--ridljar/BUCK20
-rw-r--r--ridljar/source/unoloader/BUCK20
2 files changed, 40 insertions, 0 deletions
diff --git a/ridljar/BUCK b/ridljar/BUCK
new file mode 100644
index 000000000000..382287d09ff9
--- /dev/null
+++ b/ridljar/BUCK
@@ -0,0 +1,20 @@
+
+java_sources(
+ name = 'ridl-src',
+ srcs = glob(['com/**']),
+ visibility = ['PUBLIC'],
+)
+
+java_doc(
+ name = 'ridl-javadoc',
+ title = 'LibreOffice types for the Java Uno typesystem',
+ pkgs = [
+ 'com.sun.star',
+ ],
+ paths = ['.'],
+ srcs = glob(['com/**']),
+ deps = [
+ '//:ridl',
+ ],
+ visibility = ['PUBLIC'],
+)
diff --git a/ridljar/source/unoloader/BUCK b/ridljar/source/unoloader/BUCK
new file mode 100644
index 000000000000..26781304f906
--- /dev/null
+++ b/ridljar/source/unoloader/BUCK
@@ -0,0 +1,20 @@
+
+java_sources(
+ name = 'unoloader-src',
+ srcs = glob(['com/**']),
+ visibility = ['PUBLIC'],
+)
+
+java_doc(
+ name = 'unoloader-javadoc',
+ title = 'LibreOffice Uno loader',
+ pkgs = [
+ 'com.sun.star.lib.unoloader',
+ ],
+ paths = ['.'],
+ srcs = glob(['com/**']),
+ deps = [
+ '//:ridl',
+ ],
+ visibility = ['PUBLIC'],
+)