Implement Buck driven build
Today there are plenty of modern build tool systems available in the
wild (in no particular order):
* http://bazel.io
* https://pantsbuild.github.io
* http://shakebuild.com
* https://ninja-build.org
* https://buckbuild.com
The attributes, that all these build tools have in common, are:
* reliable
* correct
* very fast
* reproducible
It must not always be the other build tool, this project is currently
using. Or, quoting Gerrit Code Review maintainer here:
"Friends, don't let friends use <the other build tool system>!"
This change is non-complete implementation of JGit build in Buck,
needed by Gerrit Code Review to replace its dependency with standlone
JGit cell. This is very useful when a developer is working on both
projects and is trying to integrate changes made in JGit in Gerrit.
The supported workflow is:
$ cd jgit
$ emacs <hack>
$ cd ../gerrit
$ buck build --config repositories.jgit=../jgit gerrit
With --config repositories.jgit=../jgit jgit cell is routed through
JGit development tree.
To build jgit, issue:
$ buck build //:jgit
[-] PROCESSING BUCK FILES...FINISHED 0,0s
Yes, you can't measure no-op build time, given that Buck daemon is
used.
Change-Id: I301a71b19fba35a5093d8cc64d4ba970c2877a44
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
8 vuotta sitten |
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- maven_jar(
- name = 'jsch',
- bin_sha1 = '658b682d5c817b27ae795637dfec047c63d29935',
- src_sha1 = '791359d94d6edcace686a56d0727ee093a2f7c33',
- group = 'com.jcraft',
- artifact = 'jsch',
- version = '0.1.53',
- )
-
- maven_jar(
- name = 'javaewah',
- bin_sha1 = 'eceaf316a8faf0e794296ebe158ae110c7d72a5a',
- src_sha1 = 'a50d78eb630e05439461f3130b94b3bcd1ea6f03',
- group = 'com.googlecode.javaewah',
- artifact = 'JavaEWAH',
- version = '0.7.9',
- )
-
- maven_jar(
- name = 'httpcomponents',
- bin_sha1 = '4c47155e3e6c9a41a28db36680b828ced53b8af4',
- src_sha1 = 'af4d76be0c46ee26b0d9d1d4a34d244a633cac84',
- group = 'org.apache.httpcomponents',
- artifact = 'httpclient',
- version = '4.3.6',
- )
-
- maven_jar(
- name = 'slf4j-api',
- bin_sha1 = '0081d61b7f33ebeab314e07de0cc596f8e858d97',
- src_sha1 = '58d38f68d4a867d4552ae27960bb348d7eaa1297',
- group = 'org.slf4j',
- artifact = 'slf4j-api',
- version = '1.7.2',
- )
-
- maven_jar(
- name = 'servlet-api',
- bin_sha1 = '3cd63d075497751784b2fa84be59432f4905bf7c',
- src_sha1 = 'ab3976d4574c48d22dc1abf6a9e8bd0fdf928223',
- group = 'javax.servlet',
- artifact = 'javax.servlet-api',
- version = '3.1.0',
- )
-
- maven_jar(
- name = 'commons-compress',
- bin_sha1 = 'c7d9b580aff9e9f1998361f16578e63e5c064699',
- src_sha1 = '396b81bdfd0fb617178e1707ef64832215307c78',
- group = 'org.apache.commons',
- artifact = 'commons-compress',
- version = '1.6',
- )
-
- maven_jar(
- name = 'junit',
- bin_sha1 = '4e031bb61df09069aeb2bffb4019e7a5034a4ee0',
- src_sha1 = '28e0ad201304e4a4abf999ca0570b7cffc352c3c',
- group = 'junit',
- artifact = 'junit',
- version = '4.11',
- )
|