* stable-2.14:
Apply buildifier to .bzl files.
Update Bower to 1.8.2
Bump commons-io version to 2.2
Change-Id: Ic90865db76a0e34f0f8fef33b83ec7b2fd75c875
Buildifier is now also used for formatting .bzl files.
This change was created by running buildifier 0.12 over our source tree.
Change-Id: I9f15112d4fe23e5cec0700cfe47f1ca649f61d2a
Recent Bazel versions support dash character in external repository
names. Consistently use them with one exception: javax_inject. This is
needed to match the name in the rules_closure.
Change-Id: I1e75690fe1ee2ab32fffe07c0c30dbed84753960
The 'touch' command uses the system default timezone if none is
supplied. This makes zip files dependent on the timezone of the
generating machine.
Zip by default stores extended attributes (eg. ctime, atime) on Unix
systems. These can be further sources of non-determinism, so switch it
off with --no-extra
Change-Id: I7e102be7368ef339cbaf47524b90688c32a09238
We cannot shade bouncycastle in the plugin API. Still we need it to be
included in the gerrit.war, licenses file and Eclipse classpath.
Expose bouncycastle libraries in PLUGIN_TEST_DEPS constant, so that
the plugins don't need to change anything in tree build mode.
gerrit_api() bazlet in bazlets repository is extended too, so that the
plugins don't need to change anything in standalone build mode.
One side effect of this change, is that bouncycastle libraries are
now listed with neverlink suffix, e.g.:
* bouncycastle:bcprov-neverlink
Bug: Issue 5826
Change-Id: Idb8051e16b14e20c8dd528783ab297ee25707bb3
This change fixes the following issues:
* server needs bcpkix for parsing public/private keys.
* do not special-case "jdk15on" in pkg_war.
We only have these in the BC jars.
* remove BC specific license checking exceptions.
* remove language about requiring BC installed separately.
* remove BC special-casing from eclipse setup.
Tested:
rm bin/* lib/* in testsite
ran 141 -> 142 schema upgrade successfully
ran daemon successfully
LICENSE.txt in war file has an entry for the BC license
Loaded new project in eclipse; verified that BouncyCastleUtil.java loads.
Change-Id: I80c2b0c038ada8397b44373194bd199f491a39c3
Id45967aa8 broke headless rule:
no such target '//gerrit-gwtui:None': target 'None' not declared in
package 'gerrit-gwtui'
Change-Id: I726dee61c11caffa1889f948d3fb49a0123af9f6
TEST PLAN:
bazel build :gerrit
java -jar bazel-bin/gerrit.war init -d ../test_site_bazel
Verify that complete Gerrit installation including GWT UI is up and
running.
Change-Id: I2e9097b1bc59f0a22269449c15583f12d75acf65