diff --git a/java/java.go b/java/java.go index bfbd98c8f..0bccb67e3 100644 --- a/java/java.go +++ b/java/java.go @@ -355,6 +355,8 @@ func (j *Module) OutputFiles(tag string) (android.Paths, error) { switch tag { case "": return append(android.Paths{j.outputFile}, j.extraOutputFiles...), nil + case ".jar": + return android.Paths{j.implementationAndResourcesJar}, nil default: return nil, fmt.Errorf("unsupported module reference tag %q", tag) }