Brian O'Connor

Adding remote_jar bucklet

Change-Id: I925c3b56158709195e4b5e1278de325cac013090
include_defs('//bucklets/maven_jar.bucklet')
include_defs('//bucklets/onos.bucklet')
include_defs('//bucklets/onos_app.bucklet')
include_defs('//bucklets/remote_jar.bucklet')
BASE_DEPS = [
'//lib:junit',
......
def remote_jar (
name,
out,
url,
sha1,
maven_coords = None,
visibility = [ 'PUBLIC' ],
):
prebuilt_jar(
name = name,
binary_jar = ':' + out,
maven_coords = maven_coords,
visibility = visibility,
)
remote_file(
name = out,
out = out,
url = url,
sha1 = sha1,
visibility = []
)