
This lets us associate the jar and the src jar in the java_import() declaration, so IDE plugins could understand how artifacts and source are connected. Classpath generation for Eclipse IDE was adjusted to reflect the changed location of the source artifact. Change-Id: I2cf9c6db3ad4b648457f2ac8d380c3771b4a3ee2
46 lines
973 B
Python
46 lines
973 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 = 'user-neverlink',
|
|
exports = ['@user//jar'],
|
|
visibility = ['//visibility:public'],
|
|
neverlink = 1,
|
|
data = ['//lib:LICENSE-Apache2.0'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'dev-neverlink',
|
|
exports = ['@dev//jar'],
|
|
visibility = ['//visibility:public'],
|
|
neverlink = 1,
|
|
data = ['//lib:LICENSE-Apache2.0'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'javax-validation_src',
|
|
exports = ['@javax_validation//jar:src'],
|
|
visibility = ['//visibility:public'],
|
|
data = ['//lib:LICENSE-Apache2.0'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'jsinterop-annotations_src',
|
|
exports = ['@jsinterop_annotations//jar:src'],
|
|
visibility = ['//visibility:public'],
|
|
data = ['//lib:LICENSE-Apache2.0'],
|
|
)
|