Skip to content

Commit 90845b6

Browse files
committed
Merge branch 'stable-2.14' into stable-2.15
* stable-2.14: Update maven build to 2.14.20 Remove Buck based build Update bazlets to latest stable-2.14 Update bazlets to Gerrit API 2.14.20 Change-Id: I5a2034080f072a807b87a66692ea18b46535e3fd
2 parents a89810f + e252aa3 commit 90845b6

File tree

166 files changed

+12
-3009
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+12
-3009
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ bazel-example*
33
bazel-out
44
bazel-testlogs
55
*.idea
6+
*/target

README

Lines changed: 2 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -44,74 +44,9 @@ the output for the example is created in
4444

4545

4646

47-
Buck Build
47+
Maven Build
4848
==========
4949

50-
This plugin can be built with Buck.
51-
52-
Two build modes are supported: Standalone and in Gerrit tree. Standalone
53-
build mode is recommended, as this mode doesn't require local Gerrit
54-
tree to exist.
55-
56-
Build standalone
57-
----------------
58-
59-
Clone bucklets library:
60-
61-
62-
git clone https://gerrit.googlesource.com/bucklets
63-
64-
65-
and link it to examples directory:
66-
67-
68-
cd examples && ln -s ../bucklets .
69-
70-
71-
To build a specific example plugin, issue the following command:
72-
73-
74-
cd example-<example> && buck build plugin
75-
76-
77-
The output or each example is created in
78-
79-
80-
buck-out/gen/example-<example>.jar
81-
82-
To execute the tests run:
83-
84-
85-
buck test
86-
87-
88-
Build in Gerrit tree
89-
--------------------
90-
91-
Clone or link this plugin to the plugins directory of Gerrit's source
92-
tree, and issue the command:
93-
94-
95-
buck build plugins/examples/example-<example>
96-
97-
98-
The output is created in
99-
100-
101-
buck-out/gen/plugins/examples/example-<example>/example-<example>.jar
102-
103-
104-
This project can be imported into the Eclipse IDE:
105-
106-
107-
./tools/eclipse/project.py
108-
109-
110-
To execute the tests run:
111-
112-
113-
buck test --include examples/example-<example>
114-
11550
Note that for compatibility reasons a Maven build is provided, but is considered
11651
to be deprecated and will be removed in a future version of this plugin.
11752

@@ -125,4 +60,4 @@ issue the command:
12560
When building with Maven, the Gerrit Plugin API must be available.
12661

12762
How to build the Gerrit Plugin API is described in the Gerrit
128-
documentation (../../../Documentation/dev-buck.html#_extension_and_plugin_api_jar_files).
63+
documentation (../../../Documentation/dev-bazel.html#_extension_and_plugin_api_jar_files).

example-adminSshCommand/.buckconfig

Lines changed: 0 additions & 15 deletions
This file was deleted.

example-adminSshCommand/BUCK

Lines changed: 0 additions & 18 deletions
This file was deleted.

example-adminSshCommand/lib/gerrit/BUCK

Lines changed: 0 additions & 20 deletions
This file was deleted.

example-changeHasOperator/.buckconfig

Lines changed: 0 additions & 15 deletions
This file was deleted.

example-changeHasOperator/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22
/.classpath
33
/.settings
44
/.project
5-
/.buckd
6-
/buck-cache
7-
/buck-out
85
*.iml

example-changeHasOperator/BUCK

Lines changed: 0 additions & 18 deletions
This file was deleted.

example-changeHasOperator/lib/gerrit/BUCK

Lines changed: 0 additions & 20 deletions
This file was deleted.

example-changeOperator/.buckconfig

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)