Add source jar to transitive jars in JavaProtoAspect
Ensures the source jar for java_proto_library is included in the set of
transitive source jars as is expected.
Fixes
@@ -236,7 +236,7 @@ public class JavaProtoAspect extends NativeAspectClass implements ConfiguredAspe
.build();
JavaSourceJarsProvider sourceJarsProvider =
JavaSourceJarsProvider.create(
- NestedSetBuilder.<Artifact>emptySet(Order.STABLE_ORDER),
+ NestedSetBuilder.create(Order.STABLE_ORDER, sourceJar),
ImmutableList.of(sourceJar));
aspect.addProvider(ruleOutputJarsProvider).addProvider(sourceJarsProvider);
