
Reformat the Bazel build files with the buildifier tool [1]. The style is different for Bazel files. Most notably, indentation level is 4 spaces instead of 2, and " is used instead of '. [1] https://github.com/bazelbuild/buildifier Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
33 lines
1.4 KiB
Python
33 lines
1.4 KiB
Python
load("//:version.bzl", "GERRIT_VERSION")
|
|
load("//tools/maven:package.bzl", "maven_package")
|
|
|
|
MAVEN_REPOSITORY = "sonatype-nexus-staging"
|
|
|
|
# TODO(davido): support snapshot repositories
|
|
MAVEN_RELEASE_URL = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
|
|
|
|
maven_package(
|
|
src = {
|
|
"gerrit-acceptance-framework": "//gerrit-acceptance-framework:liblib-src.jar",
|
|
"gerrit-extension-api": "//gerrit-extension-api:libapi-src.jar",
|
|
"gerrit-plugin-api": "//gerrit-plugin-api:plugin-api-sources_deploy.jar",
|
|
"gerrit-plugin-gwtui": "//gerrit-plugin-gwtui:gwtui-api-source_deploy.jar",
|
|
},
|
|
doc = {
|
|
"gerrit-acceptance-framework": "//gerrit-acceptance-framework:acceptance-framework-javadoc",
|
|
"gerrit-extension-api": "//gerrit-extension-api:extension-api-javadoc",
|
|
"gerrit-plugin-api": "//gerrit-plugin-api:plugin-api-javadoc",
|
|
"gerrit-plugin-gwtui": "//gerrit-plugin-gwtui:gwtui-api-javadoc",
|
|
},
|
|
jar = {
|
|
"gerrit-acceptance-framework": "//gerrit-acceptance-framework:acceptance-framework_deploy.jar",
|
|
"gerrit-extension-api": "//gerrit-extension-api:extension-api_deploy.jar",
|
|
"gerrit-plugin-api": "//gerrit-plugin-api:plugin-api_deploy.jar",
|
|
"gerrit-plugin-gwtui": "//gerrit-plugin-gwtui:gwtui-api_deploy.jar",
|
|
},
|
|
repository = MAVEN_REPOSITORY,
|
|
url = MAVEN_RELEASE_URL,
|
|
version = GERRIT_VERSION,
|
|
war = {"gerrit-war": "//:release"},
|
|
)
|