Add provides = [ScalaProtoAspectInfo] to scala_proto_aspect.
Motivation
scala_proto_aspect always returns a ScalaProtoAspectInfo provider, so there's no reason why the provider is not listed in the aspect(provides=[…]) list. Crucially, having provides = [ScalaProtoAspectInfo] enables aspect-on-aspect, allowing a second aspect to inspect the result of scala_proto_aspect.
Description
Add
provides = [ScalaProtoAspectInfo]
toscala_proto_aspect
.Motivation
scala_proto_aspect
always returns aScalaProtoAspectInfo
provider, so there's no reason why the provider is not listed in theaspect(provides=[…])
list. Crucially, havingprovides = [ScalaProtoAspectInfo]
enables aspect-on-aspect, allowing a second aspect to inspect the result ofscala_proto_aspect
.