Include aar as AndroidSources
@@ -107,6 +107,9 @@ public class AndroidOutputsProvider implements OutputsProvider {
fileSet.addAll(androidInfo.getResources());
for (AndroidResFolder androidResFolder : androidInfo.getResFolders()) {
fileSet.add(androidResFolder.getRoot());
+ if (androidResFolder.getAar() != null) {
+ fileSet.add(androidResFolder.getAar());
+ }
}
return fileSet;
}
