8 Commits

Author SHA1 Message Date
David Ostrovsky
fdbfcad77d Remove Buck based build
Bug: Issue 5302
Change-Id: I6e860446ef30ff0ad1c7c49fc0e39d39d921820b
2017-01-23 12:44:58 +00:00
David Ostrovsky
fa18907d7f Bazel: Reformat build files
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
2016-12-07 11:33:07 +00:00
Yuxuan 'fishy' Wang
75b98f77d9 bazel: add license to appropriate lib/ targets
This is to prepare for implementing genlicenses rule in bazel.

Change-Id: I60d79d5b53f9dd05c9f9ebfe6e6f658604c5a037
2016-09-26 16:42:38 +08:00
David Ostrovsky
1624112015 Bump ow2 asm library to 5.1
This is a preparation change for upgrading GWT to upcoming 2.8 release.
However it seems that current GWT 2.7 also depends on the newer version
of ow2.

Change-Id: If98f6b0efaa85ad5cc4247de6fbf5dc9e8d3f889
2016-08-22 08:40:35 +02:00
David Ostrovsky
b81b4f75ae Implement Bazel build
To run the tests:

  bazel test //...

To build the Gerrit plugin API, run:

  bazel build gerrit-plugin-api:plugin-api_deploy.jar

To build the Gerrit extension API, run:

  bazel build gerrit-extension-api:extension-api_deploy.jar

TODOs:

Licenses
Reduce visibility (all public for now)
Generate HTML Documentation
Core plugins
gerrit_plugin() rule to build plugins in tree and standalone modes
GWT UI (only gwt_module() skylark rule is provided, no gwt_binary())
PolyGerrit UI
WAR
Publish artifacts to Maven Central
Ask Bazel team to add Gerrit to their CI on ci.bazel.io

Contributed-By: Han-Wen Nienhuys <hanwen@google.com>
Change-Id: I9a86e670882a44a5c966579cdeb8ed79b1590de3
2016-06-14 21:12:02 +02:00
Shawn Pearce
b0735a3c02 Remove org.json:json and fix gwt-dev deps
GWT 2.7 dev JAR no longer lists org.json:json as a dep in its pom.xml
file.  Instead it requests ow2-asm.  Fix the dep list to drop the
difficult org.json:json and put in the requested ow2 JARs.

Move ow2-asm deps down onto gwt-dev JAR where they belong.  These are
required by the compiler code inside gwt-dev, not user code linked
with gwt_module().

Change-Id: I54df92daf40d77e61bed4ed4b549981e8d798ca1
2015-06-25 10:03:24 -07:00
David Ostrovsky
5f5c792ec3 Bump asm version to 5.0.3
5.x release added support for Java 8 and fixed some bugs: [1].

[1] http://forge.ow2.org/forum/forum.php?forum_id=2302

Change-Id: If5009c676e76bfd420d71a710157e57be0c1511a
2014-12-04 11:21:32 +09:00
David Pursehouse
a089c2e4e1 Move ow2-asm library definitions to separate BUCK file
Change-Id: If7d59843dcbd534c7712683a6169b82cc9c3f94d
2014-06-30 11:17:13 +09:00