summaryrefslogtreecommitdiffstats
path: root/version.bzl
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2016-10-28 09:17:14 +0200
committerDavid Ostrovsky <david.ostrovsky@gmail.com>2016-11-03 12:47:24 +0000
commit50785fdbb296ec214dbf726bf1eab6223723f46b (patch)
treec0de929c8ae57f49d3fbd22794323f4538da576d /version.bzl
parent76eac6f3fc72d0f40fd4c5c418cfec139fb78a93 (diff)
Bazel: Publish maven artifacts to local and remote repositories
Currently too big files are published, because some unwanted transitive dependencies are included in the final artifacts. That will be fixed in follow-up change by using neverlink option in java_library rule or using provided_deps attribute that will be addded in future releases of Bazel: [1]. TEST PLAN: $ VERBOSE=1 tools/maven/api.sh install bazel $ VERBOSE=1 tools/maven/api.sh install buck * [1] https://github.com/bazelbuild/bazel/issues/1402 Change-Id: Ie73d4ae34d96be7f97f6329c4c30c814f54688d5
Diffstat (limited to 'version.bzl')
-rw-r--r--version.bzl5
1 files changed, 5 insertions, 0 deletions
diff --git a/version.bzl b/version.bzl
new file mode 100644
index 0000000000..3035c930ae
--- /dev/null
+++ b/version.bzl
@@ -0,0 +1,5 @@
+# Maven style API version (e.g. '2.x-SNAPSHOT').
+# Used by :api_install and :api_deploy targets
+# when talking to the destination repository.
+#
+GERRIT_VERSION = '2.14-SNAPSHOT'