Class QueryOutputsMacroExpander

  • All Implemented Interfaces:
    MacroExpander<QueryOutputsMacro,​QueryMacroExpander.QueryResults>

    public class QueryOutputsMacroExpander
    extends QueryMacroExpander<QueryOutputsMacro>
    Used to expand the macro $(query_outputs "some(query(:expression))") to the set of the outputs of the targets matching the query. Example queries
       '$(query_outputs "deps(:foo)")'
       '$(query_outputs "filter(bar, classpath(:bar))")'
       '$(query_outputs "attrfilter(annotation_processors, com.foo.Processor, deps(:app))")'