Brian O'Connor

Adding remote_jar bucklet

Change-Id: I925c3b56158709195e4b5e1278de325cac013090
1 include_defs('//bucklets/maven_jar.bucklet') 1 include_defs('//bucklets/maven_jar.bucklet')
2 include_defs('//bucklets/onos.bucklet') 2 include_defs('//bucklets/onos.bucklet')
3 include_defs('//bucklets/onos_app.bucklet') 3 include_defs('//bucklets/onos_app.bucklet')
4 +include_defs('//bucklets/remote_jar.bucklet')
4 5
5 BASE_DEPS = [ 6 BASE_DEPS = [
6 '//lib:junit', 7 '//lib:junit',
......
1 +def remote_jar (
2 + name,
3 + out,
4 + url,
5 + sha1,
6 + maven_coords = None,
7 + visibility = [ 'PUBLIC' ],
8 + ):
9 +
10 + prebuilt_jar(
11 + name = name,
12 + binary_jar = ':' + out,
13 + maven_coords = maven_coords,
14 + visibility = visibility,
15 + )
16 +
17 + remote_file(
18 + name = out,
19 + out = out,
20 + url = url,
21 + sha1 = sha1,
22 + visibility = []
23 + )