onos/bucklets/remote_jar.bucklet
Brian O'Connor 4443ffba17 Adding remote_jar bucklet
Change-Id: I925c3b56158709195e4b5e1278de325cac013090
2016-04-29 18:23:18 -07:00

24 lines
417 B
Plaintext

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 = []
)