|
|
@@ -1,78 +1,18 @@ |
|
|
|
java_library( |
|
|
|
name = 'jgit', |
|
|
|
exported_deps = ['//org.eclipse.jgit:jgit'], |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
|
|
|
|
genrule( |
|
|
|
name = 'jgit_src', |
|
|
|
cmd = 'ln -s $(location //org.eclipse.jgit:jgit_src) $OUT', |
|
|
|
out = 'jgit_src.zip', |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
|
|
|
|
java_library( |
|
|
|
name = 'jgit-servlet', |
|
|
|
exported_deps = [ |
|
|
|
':jgit', |
|
|
|
'//org.eclipse.jgit.http.server:jgit-servlet' |
|
|
|
], |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
|
|
|
|
java_library( |
|
|
|
name = 'jgit-archive', |
|
|
|
exported_deps = [ |
|
|
|
':jgit', |
|
|
|
'//org.eclipse.jgit.archive:jgit-archive' |
|
|
|
], |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
|
|
|
|
java_library( |
|
|
|
name = 'jgit-lfs', |
|
|
|
exported_deps = [ |
|
|
|
':jgit', |
|
|
|
'//org.eclipse.jgit.lfs:jgit-lfs' |
|
|
|
], |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
|
|
|
|
genrule( |
|
|
|
name = 'jgit-lfs_src', |
|
|
|
cmd = 'ln -s $(location //org.eclipse.jgit.lfs:jgit-lfs_src) $OUT', |
|
|
|
out = 'jgit-lfs_src.zip', |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
|
|
|
|
java_library( |
|
|
|
name = 'jgit-lfs-server', |
|
|
|
exported_deps = [ |
|
|
|
':jgit', |
|
|
|
':jgit-lfs', |
|
|
|
'//org.eclipse.jgit.lfs.server:jgit-lfs-server' |
|
|
|
], |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
|
|
|
|
genrule( |
|
|
|
name = 'jgit-lfs-server_src', |
|
|
|
cmd = 'ln -s $(location //org.eclipse.jgit.lfs.server:jgit-lfs-server_src) $OUT', |
|
|
|
out = 'jgit-lfs-server_src.zip', |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
) |
|
|
|
DEPS = [ |
|
|
|
'//org.eclipse.jgit:jgit', |
|
|
|
'//org.eclipse.jgit.archive:jgit-archive', |
|
|
|
'//org.eclipse.jgit.http.server:jgit-servlet', |
|
|
|
'//org.eclipse.jgit.lfs:jgit-lfs', |
|
|
|
'//org.eclipse.jgit.lfs.server:jgit-lfs-server', |
|
|
|
'//org.eclipse.jgit.pgm:jgit', |
|
|
|
] |
|
|
|
|
|
|
|
java_library( |
|
|
|
name = 'junit', |
|
|
|
exported_deps = [ |
|
|
|
':jgit', |
|
|
|
'//org.eclipse.jgit.junit:junit' |
|
|
|
], |
|
|
|
visibility = ['PUBLIC'], |
|
|
|
zip_file( |
|
|
|
name = 'all', |
|
|
|
srcs = DEPS, |
|
|
|
) |
|
|
|
|
|
|
|
genrule( |
|
|
|
sh_binary( |
|
|
|
name = 'jgit_bin', |
|
|
|
cmd = 'ln -s $(location //org.eclipse.jgit.pgm:jgit) $OUT', |
|
|
|
out = 'jgit_bin', |
|
|
|
main = '//org.eclipse.jgit.pgm:jgit', |
|
|
|
) |