Skip to content

Commit 17829da

Browse files
quic-nassergnasserg
authored andcommitted
Remove Buck based build
The Buck build isn't expected to work on 2.14 or later Gerrit versions. Change-Id: I5a39d7cfd20dd5c8d43c2cb1f350805c405f9ec4
1 parent b4a9b2d commit 17829da

File tree

148 files changed

+2
-2796
lines changed

Some content is hidden

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

148 files changed

+2
-2796
lines changed

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.

example-changeOperator/.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

0 commit comments

Comments
 (0)