Include resources in sdk snapshot of java library impl

Bug: 159607838
Test: m nothing
Change-Id: Ie7ddbffc3957f832abfadb27292c436e8e5dcbf3
This commit is contained in:
Paul Duffin
2020-06-24 12:10:42 +01:00
parent 63a89ef82f
commit 4e77284ab4
2 changed files with 4 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ func init() {
PropertyName: "java_libs",
},
func(j *Library) android.Path {
implementationJars := j.ImplementationJars()
implementationJars := j.ImplementationAndResourcesJars()
if len(implementationJars) != 1 {
panic(fmt.Errorf("there must be only one implementation jar from %q", j.Name()))
}