Buck: Remove jgit cell
Cross cell support in Buck is considered as experimental feature, with number of open issues: [1], [2], [3]. Moreover, to make Maven Central machinery work, it was needed to create symbolic links in source tree. That broke `buck targets` feature. Remove it for now, and re-consider to add it later. [1] https://github.com/facebook/buck/issues/656 [2] https://github.com/facebook/buck/issues/658 [3] https://github.com/facebook/buck/issues/717 Bug: Issue 3954 Change-Id: Ic621a07771f926001df181b46b2169e214ce208a
This commit is contained in:
@@ -29,7 +29,7 @@ prebuilt_jar(
|
||||
|
||||
genrule(
|
||||
name = 'jgit_edit_src',
|
||||
cmd = 'unzip -qd $TMP $(location @jgit//org.eclipse.jgit:jgit_src) ' +
|
||||
cmd = 'unzip -qd $TMP $(location //lib/jgit/org.eclipse.jgit:jgit_src) ' +
|
||||
'org/eclipse/jgit/diff/Edit.java;' +
|
||||
'cd $TMP;' +
|
||||
'zip -Dq $OUT org/eclipse/jgit/diff/Edit.java',
|
||||
@@ -46,7 +46,7 @@ java_library(
|
||||
],
|
||||
deps = [
|
||||
'//lib:gson',
|
||||
'@jgit//org.eclipse.jgit:jgit',
|
||||
'//lib/jgit/org.eclipse.jgit:jgit',
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
@@ -56,8 +56,8 @@ java_test(
|
||||
srcs = glob(['src/test/java/**/*.java']),
|
||||
deps = [
|
||||
':server',
|
||||
'//lib/jgit/org.eclipse.jgit:jgit',
|
||||
'//lib:junit',
|
||||
'@jgit//org.eclipse.jgit:jgit',
|
||||
],
|
||||
source_under_test = [':server'],
|
||||
visibility = ['//tools/eclipse:classpath'],
|
||||
|
||||
Reference in New Issue
Block a user