diff --git a/BUCK b/BUCK index fca0e8a7f..f19b7bdc5 100644 --- a/BUCK +++ b/BUCK @@ -4,9 +4,10 @@ java_library( visibility = ['PUBLIC'], ) -java_library( +genrule( name = 'jgit_src', - exported_deps = ['//org.eclipse.jgit:jgit_src'], + cmd = 'ln -s $(location //org.eclipse.jgit:jgit_src) $OUT', + out = 'jgit_src.zip', visibility = ['PUBLIC'], )