Using existing download_file.py from custom maven_jar Skylark rule gives us the following advantages: * fetching of sources (needed for GWT JSNI build and IDE integration) * server support for proxies * global, per-user cache of artifacts * support for local maven repository (~/.m2) Change-Id: Ic246dd9298775a6819f05453c601c688d8cb7ab9
31 lines
634 B
Python
31 lines
634 B
Python
[java_library(
|
|
name = n,
|
|
exports = ['@%s//jar' % n.replace("-", "_")],
|
|
visibility = ["//visibility:public"],
|
|
data = ['//lib:LICENSE-Apache2.0'],
|
|
) for n in [
|
|
'ant',
|
|
'colt',
|
|
'dev',
|
|
'javax-validation',
|
|
'jsinterop-annotations',
|
|
'tapestry',
|
|
'user',
|
|
'w3c-css-sac',
|
|
]]
|
|
|
|
java_library(
|
|
name = 'javax-validation_src',
|
|
exports = ['@javax_validation//src'],
|
|
visibility = ['//visibility:public'],
|
|
data = ['//lib:LICENSE-Apache2.0'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'jsinterop-annotations_src',
|
|
exports = ['@jsinterop_annotations//src'],
|
|
visibility = ['//visibility:public'],
|
|
data = ['//lib:LICENSE-Apache2.0'],
|
|
)
|
|
|