daml/bazel_tools
Gerolf Seitz 5f8bf411bd
Upload proto and deploy jars to maven (#3507)
* Add helper to produce an empty zip files.

This is used to generate empty sources and javadoc jars for
deploy jars later on.

* Create empty auxilliary jars.

da_java_binary:
  - empty javadoc jar
  - empty sources jar

da_java_proto_library:
  - empty javadoc jar
  - the sources jar is automatically generated by java_proto_library as a side effect

da_scala_binary:
  - empty javadoc jar
  - empty sources jar

* Support maven upload for jar-deploy and jar-proto

For jar-deploy targets we don't check for internal dependencies,
because these should already be contained in the (fat-)jar itself.

Additionally, the release program now uploads javadocs and sources
for jar-proto and jar-deploy as well to comply with maven central.

* Upload ledger-api-test-tool and kvutils + dependencies to maven central.

This is the diff running the output of the release without and with these changes.
A few artifacts now also get their javadoc and sources uploaded (mostly to bintray,
but now they are ready for a maven central upload).

ledger-api-test-tool has the scala version removed from the artifact as it is a
deploy jar and nobody should care which specific scala version is used.

Only in release/com/daml/ledger/participant-state-kvutils-java-proto/100.13.35: participant-state-kvutils-java-proto-100.13.35-javadoc.jar
Only in release/com/daml/ledger/participant-state-kvutils-java-proto/100.13.35: participant-state-kvutils-java-proto-100.13.35-sources.jar
Only in release/com/daml/ledger/testtool: ledger-api-test-tool
Only in release-before/com/daml/ledger/testtool: ledger-api-test-tool_2.12
Only in release/com/digitalasset/daml/lf/engine/trigger/runner_2.12/100.13.35: runner_2.12-100.13.35-javadoc.jar
Only in release/com/digitalasset/daml/lf/engine/trigger/runner_2.12/100.13.35: runner_2.12-100.13.35-sources.jar
Only in release/com/digitalasset/daml-lf-blindinginfo-java-proto/100.13.35: daml-lf-blindinginfo-java-proto-100.13.35-javadoc.jar
Only in release/com/digitalasset/daml-lf-blindinginfo-java-proto/100.13.35: daml-lf-blindinginfo-java-proto-100.13.35-sources.jar
Only in release/com/digitalasset/daml-lf-transaction-java-proto/100.13.35: daml-lf-transaction-java-proto-100.13.35-javadoc.jar
Only in release/com/digitalasset/daml-lf-transaction-java-proto/100.13.35: daml-lf-transaction-java-proto-100.13.35-sources.jar
Only in release/com/digitalasset/daml-lf-value-java-proto/100.13.35: daml-lf-value-java-proto-100.13.35-javadoc.jar
Only in release/com/digitalasset/daml-lf-value-java-proto/100.13.35: daml-lf-value-java-proto-100.13.35-sources.jar
Only in release/com/digitalasset/damlc/100.13.35: damlc-100.13.35-javadoc.jar
Only in release/com/digitalasset/damlc/100.13.35: damlc-100.13.35-sources.jar
Only in release/com/digitalasset/extractor/100.13.35: extractor-100.13.35-javadoc.jar
Only in release/com/digitalasset/extractor/100.13.35: extractor-100.13.35-sources.jar
Only in release/com/digitalasset/ledger-service/http-json-deploy/100.13.35: http-json-deploy-100.13.35-javadoc.jar
Only in release/com/digitalasset/ledger-service/http-json-deploy/100.13.35: http-json-deploy-100.13.35-sources.jar
Only in release/com/digitalasset/navigator/100.13.35: navigator-100.13.35-javadoc.jar
Only in release/com/digitalasset/navigator/100.13.35: navigator-100.13.35-sources.jar
2019-11-18 14:40:15 +01:00
..
client_server Build rules for producing and verifying ledger dumps (#3290) 2019-11-07 09:41:54 +00:00
dev_env_tool Update rules_haskell (#3473) 2019-11-15 10:50:12 +00:00
docs update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
java_testing update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
packaging Upgrade nixpkgs to latest unstable (#3093) 2019-10-14 09:35:18 +02:00
runfiles update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
BUILD.bazel update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
docs.bzl update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
fat_cc_library.bzl update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
ghc_dwarf.bzl Add an option to build Haskell code with DWARF debug info (#2504) 2019-08-13 20:00:14 +02:00
ghci-template.sh Update rules_haskell (#3275) 2019-11-12 12:15:31 +00:00
grpc-bazel-mingw.patch Bazel 1.1 (#3249) 2019-11-11 10:06:03 +01:00
grpc-java-plugin-visibility.patch Update to bazel-0.27 (#1957) 2019-07-05 14:04:47 +00:00
haskell_public_ghci_repl_wrapper.patch Bump rules_haskell (#2585) 2019-08-19 17:29:37 +02:00
haskell-c2hs.patch Building c2hs (#355) 2019-04-10 15:12:08 +02:00
haskell-cabal-wrapper.patch Update rules_haskell (#3473) 2019-11-15 10:50:12 +00:00
haskell-ghci-grpc.patch Update rules_haskell (#3473) 2019-11-15 10:50:12 +00:00
haskell-hie-bios.patch Bump ghc-ghcide (#2936) 2019-09-18 10:29:02 +02:00
haskell-lsp-test-no-reexport.patch Upgrade ghcide and haskell-lsp (#3499) 2019-11-18 10:56:19 +00:00
haskell-no-isystem.patch Ghc lib 8.8.0.20190723 (#2279) 2019-07-25 08:59:34 +00:00
haskell-opt.patch Default to -c opt in Bazel (#2592) 2019-08-19 17:10:30 +02:00
haskell-windows-extra-libraries.patch Update rules haskell (#2509) 2019-08-13 16:46:31 +02:00
haskell.bzl Rename hazel_deps to hackage_deps (#2789) 2019-09-06 09:01:09 +00:00
hlint.bzl update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
java.bzl Upload proto and deploy jars to maven (#3507) 2019-11-18 14:40:15 +01:00
javadoc_library.bzl update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
os_info.bzl update copyright notices (#2499) 2019-08-13 17:23:03 +01:00
pkg.bzl Upload proto and deploy jars to maven (#3507) 2019-11-18 14:40:15 +01:00
pom_file.bzl Replace bazel-deps by rules_jvm_external (#3253) 2019-10-28 13:53:14 +01:00
pom_template.xml Fixes 895: Improve DA Bazel rules for building javadocs. (#896) 2019-05-14 09:40:30 +02:00
proto.bzl Bazel 1.1 (#3249) 2019-11-11 10:06:03 +01:00
rules_nodejs_bash.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
rules_nodejs_default_shell_env.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
scala-escape-jvmflags.patch Update to bazel-0.27 (#1957) 2019-07-05 14:04:47 +00:00
scala.bzl Upload proto and deploy jars to maven (#3507) 2019-11-18 14:40:15 +01:00